This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Another solution

Posted by: Anonymous Coward on July 19, 2006 08:07 PM
The solution with port forwarding and dynamic DNS needs a provider gives you this option and your request isn't in a collision with the requests of other users. If your provider can't or doesn't want to offer this, you can try another solution:

If you have some friendly server outside in the real Internet (with real IP address) you can use ssh program for "tunneling" the traffic back to your PC. Check the option '-R' at man page of ssh. Of course the tunnel can accept ANY comunication, it is nothing about ssh only. The fun more is that you can have one Linux box, run several tunnels there and each tunnel can end at different machine at your home side (for example your girlfriend's windows machine).

The disadvantage of this solution is that you need an account at server with ssh server (and public IP address). The advantages are: you needn't contact provider, you needn't be a root or Administrator at any side and the last (but not least) is that you can easily switch it on and off and feel safe when it is off. NAT without port forwarding is better protection then any other FW<nobr> <wbr></nobr>:-)

Milan

#

Return to Getting started with dynamic DNS