connecting to a box behind a NAT router
Hi all,
I'm about to get ADSL installed for my home Internet connection and have
chosen to do this via an ADSL router (as opposed to a modem). The router will have a static/global IP address but everything behind it will be connecting through the router via NAT. So, my question is, is there any way to get into (telnet or ssh) my box behind the router from outside?
Is there some sort of tunneling protocol/tool to do this? If so, what
happens if I want to connect two boxes is the same situation (behind NAT routers)? Is is still possible? Is is interoperable with Windows and Linux?
Any ideas would be greatly appreciated.
Thanks in advance,
--Rainer
Hi there,
Quoted 1 line
So, my question is, is there any way to get into (telnet or ssh) my box
behind
Quoted 1 line
the router from outside?
Yes, it's possible :)
See the iptables man-page for that, and look for SNAT & DNAT. If you need any help with your setup, I'd be happy to help.
Regards,
Marc Brekoo
Yes, if you use ssh+pppd you can such a thing. Standard routing, no, the NAT make it unusable. What I would have done (as I do for my home network, is make a linux router and use a standard *DSL modem. Much better all around.
-d
Quoted 24 lines · Rainer Mager
Hi all,
I'm about to get ADSL installed for my home Internet connection and have
chosen to do this via an ADSL router (as opposed to a modem). The router will have a static/global IP address but everything behind it will be connecting through the router via NAT. So, my question is, is there any way to get into (telnet or ssh) my box behind the router from outside?
Is there some sort of tunneling protocol/tool to do this? If so, what
happens if I want to connect two boxes is the same situation (behind NAT routers)? Is is still possible? Is is interoperable with Windows and Linux?Any ideas would be greatly appreciated.
Thanks in advance,
--Rainer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 11 lines · Rainer Mager
Hi all,
I'm about to get ADSL installed for my home Internet connection and have
chosen to do this via an ADSL router (as opposed to a modem). The router will have a static/global IP address but everything behind it will be connecting through the router via NAT. So, my question is, is there any way to get into (telnet or ssh) my box behind the router from outside?
Is there some sort of tunneling protocol/tool to do this? If so, what
happens if I want to connect two boxes is the same situation (behind NAT routers)? Is is still possible? Is is interoperable with Windows and Linux?
Quoted 1 line
Any ideas would be greatly appreciated.
It depends on the router. I use a Linux router and port forwarding to accomplish that.
Signature · 5 lines
------------------------------------------------------------------------- Jesse I Pollard, II Email: [email protected] Any opinions expressed are solely my own.