Linux - NetworkingThis 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.
I would like to tunnel the following through a ssh connection on port 119 (telnet, ssh(22), and www) to my home network.
I have the ssh server setup and listening on port 119 and it works fine.
squid is setup to proxy the www which is what I want but how do I setup my linux box to accept the telnet and ssh(22) connections and forward them onto the outside world.
My firewall at work blocks port 22, and 23 so I would like to fire up my ssh connection on 119 and then be able to ssh and telnet any where I want too on my PC at work.
what are you actually trying to achieve... you don't proxy ssh with squid... if you want ssh access via a tunnel then just configure a standard tunnel and use it locally to have the packets be sent from the other end of the tunnel.
unless you're using a socks proxy, you need to establish a new tunnel for each remote peer connection you wish to establish, e.g. -L1234:somewhere.com:22 -L1235:somewhereelse.com:22
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.