Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-14-2009, 05:37 PM
|
#16
|
|
LQ Newbie
Registered: Dec 2008
Posts: 3
Rep:
|
Hello fralacos,
I tried your instructions but I could not make them work for me. Assuming I followed your instructions correctly (and perhaps that is not a valid assumption!), I believe the reason it did not work is because I also need the data ports forwarded down the tunnel, and not just the control port.
The method I outlined above allows for the data ports to be known in advance and therefore forwarded down the tunnel.
Please let me know if I did not follow your method correctly and the data ports should have been forwarded down the tunnel as well?
Thanks and regards,
--appyface
|
|
|
|
10-16-2011, 07:34 AM
|
#17
|
|
LQ Newbie
Registered: Jul 2009
Location: Norwich
Distribution: Debian_AMD64
Posts: 8
Rep:
|
Thank you!!
Quote:
Originally Posted by fralacos
Hello,
I got this working using putty 0.60 for setting up a dynamic tunnel, with this kind of tunnel PuTTY provides a local SOCKS 4/4A/5 proxy on a local port. Your FTP client must be set to use this local SOCKS proxy and passive mode.
Not so detailed Instructions:
on PUTTY:
- Open putty configuration.
- Set up an SSH connection to your SSH server as usual (host, port, etc.)
- Go to Connection > SSH > Tunnels.
- Fill in source port, this is the port where SOCKS proxy will listen, so you FTP client should be set to use 127.0.0.1:<source port> as socks proxy.
- Destination: empty, not used for dynamic tunnels.
- Select Dynamic radio button.
- (optional) Go back to session and save you settings.
- Connect to your SSH server!
on FTP client: - Configure your FTP client to use a SOCKS proxy at 127.0.0.1:<source port>.
- Configure your FTP client to use PASSIVE mode.
- FTP connection must be opened to actual FTP server address and port, for example 192.168.0.1:21. Note that your SSH server must be able to reach your FTP server at that IP address and port.
FrAlAcos
PS: I'm a frequently visitor of this forums and got lot of help from here, just now i have this chance to help back so ... hope it helps!
|
Legend! Long story short I'm in IT, tunnelling etc is a frequent requirement in my role, I knew I wanted to use a dynamic tunnel in PUTTY to get around FTP's damn dual port set-up but hadn't considered adding a proxy to my FTP client!! You are a star, works like a charm!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|