public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [somewhat OT] connecting to a box behind a NAT router
@ 2001-08-09 23:25 Rainer Mager
  2001-08-10  0:28 ` Marc Brekoo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rainer Mager @ 2001-08-09 23:25 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [somewhat OT] connecting to a box behind a NAT router
  2001-08-09 23:25 [somewhat OT] connecting to a box behind a NAT router Rainer Mager
@ 2001-08-10  0:28 ` Marc Brekoo
  2001-08-10  2:03 ` David Ford
  2001-08-10 11:04 ` Jesse Pollard
  2 siblings, 0 replies; 4+ messages in thread
From: Marc Brekoo @ 2001-08-10  0:28 UTC (permalink / raw)
  To: Rainer Mager, linux-kernel

Hi there,

> So, my question is, is there any way to get into (telnet or ssh) my box
behind
> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [somewhat OT] connecting to a box behind a NAT router
  2001-08-09 23:25 [somewhat OT] connecting to a box behind a NAT router Rainer Mager
  2001-08-10  0:28 ` Marc Brekoo
@ 2001-08-10  2:03 ` David Ford
  2001-08-10 11:04 ` Jesse Pollard
  2 siblings, 0 replies; 4+ messages in thread
From: David Ford @ 2001-08-10  2:03 UTC (permalink / raw)
  To: Rainer Mager; +Cc: linux-kernel

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

Rainer Mager wrote:

>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 majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [somewhat OT] connecting to a box behind a NAT router
  2001-08-09 23:25 [somewhat OT] connecting to a box behind a NAT router Rainer Mager
  2001-08-10  0:28 ` Marc Brekoo
  2001-08-10  2:03 ` David Ford
@ 2001-08-10 11:04 ` Jesse Pollard
  2 siblings, 0 replies; 4+ messages in thread
From: Jesse Pollard @ 2001-08-10 11:04 UTC (permalink / raw)
  To: Rainer Mager, linux-kernel

On Thu, 09 Aug 2001, Rainer Mager wrote:
>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.

It depends on the router. I use a Linux router and port forwarding to accomplish
that.

-- 
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: jesse@cats-chateau.net

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-10 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-09 23:25 [somewhat OT] connecting to a box behind a NAT router Rainer Mager
2001-08-10  0:28 ` Marc Brekoo
2001-08-10  2:03 ` David Ford
2001-08-10 11:04 ` Jesse Pollard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox