Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The emerge? What's that got to do with SSH? And why would TCP DNS and FTP Control port access be any use? If you're trying to do DNS over it, then firstly you need UDP, not TCP, and SSH only does TCP tunnelling (not piping, pipes are very very different things). IF you do use DNS then the resulting DNS response means it's not going to use the tunnel for FTP, it's going to connect to the IP in the DNS response. And thirdly, FTP is NOT just port 21, you need to tunnel ports for FTP data as well as FTP control. You should just use HTTP really, much simpler on port 80.
HTTP is a better protocol, however you still can't make it work with a reverse SSH tunnel, as it'll only connect to port 80 of the ip defined as the destination of the pipe, and again as above you aren't doing anything in the first place to make emerge want to use the tunnel at all. Why would it connect to 127.0.0.1:80 when its trying to go to gentoo.example.com:80?
Why I do not want that it connects on 127.0.0.1:80 it's just because this device has not got access to internet, there is no route and I can't set a route... That's why I wanted to pass through my client.