Tunneling FTP connection from home where server only accepts local IPs
Tunneling FTP connection from home where server only accepts local IPs
I need to access an FTP server at work but the server will only accept local IPs. I cannot access it from my home machine. I have been able to ssh into my Unix work machine through PuTTY and from there successfully open a console FTP connection to the FTP server.
I could work through this, but I would prefer not to as it is very cumbersome for me. I would prefer to tunnel an FTP connection through the work machine via PuTTY so I may use my FTP client of choice, FileZilla, to accomplish my FTP needs on the server. Of course this is through port 21.
I know PuTTY is capable of port forwarding through ssh, I'm just not sure how to use it.
Home -> Work -> Server.
Use a SOCKS proxy.
The source port is now (locally) a SOCKS proxy. Configure FileZilla to use it as a SOCKS proxy (see below). It'll open a connection through that to the host you ssh to (your work machine) and then connect from there, to any IP address you give it. Works for anything with supports SOCKS and that includes FTP.
The rest of the PuTTY config just remains the same - configure the ports (as shown) and then connect that PuTTY session to your Work machine via SSH.
Here's what the FileZilla option needs to look like,
When you put in the target for the FTP connection, use the IP address not the hostname, because DNS resolution may still happen locally and you don't want that.
The whole thing is secure and invisible - it looks like a basic SSH connection to anything else on the network.
NB: If you want to do this from the command line, you can use PuTTY's plink.exe to do the following,
plink -ssh -D 9090 firstname.lastname@example.org
it achieves the same thing without having to create a PuTTY profile or use the GUI.
Firstly its much easier / arguably better to be using SCP. Since you've got SSH it would be common for you to have SCP access also. But I don't know your network so to the question...
Firstly Make sure that your client is set to use FTP in ACTIVE mode. I wanted to suggest using passive mode but you can't control which ports will be used.
Secondly Limit the number of ports your FTP client will use in active mode down to a handful. Less that 10 would be good. And here's why.
Thirdly create remote port forwards for all of these ports.
I need to access an FTP server at work but the server will only accept local IPs. I cannot access it from my home machine. I have been able to ssh into my Unix work machine through PuTTY and from there successfully open a console FTP connection to th
I am trying to connect to a public FTP server that allows anonymous connexions. The server is fr2.rpmfind.net and it works from my terminal ftp fr2.rpmfind.net Connected to mandril.creatis.insa-lyon.fr. Now I have another terminal with SSH to a remot
I have a problem with FTP connection in Windows 8 to my own server (Centos 6 with Vsftpd). All programs that i use (PSPad, Aptana3, File Zilla etc.) are connecting well but i can't edit files, or create them. I can only open folders and files. I have
I am trying to connect to remote MySQL server, which runs on CentOS 6.6 cPanel server. I am creating tunnel this way: ssh -L 3306:xxx.xxx.xxx.xxx:3306 email@example.com -p PPPPP Where xxx.xxx.xxx.xxx is remote server IP address, 3306 ic configured
I am setting up a testbed environment where Linux (Ubuntu 10.04) clients will authenticate to a Windows Server 2008 R2 Domain Server. I am following the official Ubuntu guide to set up a Kerberos client here: https://help.ubuntu.com/community/Samba/K
I have an NFS server with folder permissions as follows. There are 50 clients which need to connect to this server within the same network. I would like to know what's the command to lookup which are the clients accessing this server from the server.
I downloaded and installed the latest version of WAMP package to my PC, and what I want to do is to connect it using FTP. How to do this? --------------Solutions------------- Apache, the server that is included in WAMP, is purely a web server, not a
I am currently writing an application that connects to IIS server and spiders through the virtual directory to collection information. When I try to connect from a Windows XP SP3 with IIS 5.1 machine to a Windows Servers 2003 server with IIS 6.0 I ge
I'm hosting a game server on my laptop running Ubuntu 10.04. My friends can connect to the server completely fine, but when I try to access it, I get a "Connection refused: connect" error. All the ports are open, but I have a feeling this has so
I am trying to connect to a linux server from my local windows machine. But the linux server can only be accessed via another windows server machine. So now I am doing: Local windows machine--->remote desktop to windows server machine---->putty to l
Is it possible to change/add an ssh tunnel after connecting to the ssh server via command line? I know you can do it with putty --------------Solutions------------- Assuming your using OpenSSH, you can use the escape characters to add/remove tunnels.
I want to limit simultaneous FTP connections to my FreeBSD server with the pf firewall. For example that only 10 simultaneous connection are possible to the port 20 or 21 from one source IP. I use for this, this rule: pass in quick proto tcp from any
I connect to my server via SSH for a user called 'ubuntu'. It needs a private key to connect and the same goes for the same account via FileZilla. I'm currently setting up a server block with nginx for a new domain of mine. I've created a new user ca
I have a LAMP server I created and am trying to upload files to it. When I try and log in on filezilla I use my IP user name and port but I get this error: Status: Connection established, waiting for welcome message... Response: SSH-2.0-OpenSSH_6.6.1
If anyone can help, I'm at my wits end here and my class starts Monday. I have installed SPSS statistics 22 on my Win7 Home 64-bit SP 1 and it will not run. I am on an HP Pavilion dv7 with tons of RAM and disk. Authorized copy (not network) standalon
I have connected to a remote server from my local server by using the public key of my local system on the remote server. However, I have a situation where I will not know the remote server until the time when I need to connect and I will have the re
I have a new server. The hosting gives me a ftp account for backing up the main server. My problem is, I can only connect to this ftp account from the server. I don't like surfing inside folders via putty. I am WinSCP to browse folders and editing fi
I am designing a process for end users to upload files to an FTP server. The critical requirement is to ensure the connection to the server is secure. I know it is possible for many FTP client applications to create a secure FTP connection (e.g. FTPE
I have a server that runs vsftpd to handle ftp connections. One of my users have a notebook with Total Commander and WinSCP installed. Both ftp clients fail right after the connection is established to the server and it tries to download the director
I'm using SqlYog and PUTTY in order to connect to a MySQL server sitting on a remote server. I'm able to the MySQL server sitting on the host I connect to through PUTTY, but the thing is I use PUTTY to make my way into a different server using two mo