Skip to contentSkip to conversation

Simple routing question from networking newbie

LARTC Sebastian Tennant 2 participants 2 messages May 13, 2006 – May 14, 2006

lore
Share & tools
lore
#0 lore raw

I've recently got a new modem. In fact, it's a modem-router with NAT functionality. Before I had a plain modem-modem, and I was able to access my workstation from my remote server using the IP address assigned to me by my ISP. Now however, that IP address only reaches the modem-router and the IP address of my workstation is set by my modem-router to 192.168.0.2

How can I reach my workstation now that I have to go through the modem-router?

For instance, if I want to ssh into my remote server and issue a command that copies a file from my remote server to my workstation using scp:

 $ scp file.txt [email protected]:/home/sebyte/Desktop/file.txt

what IP address should I use? Obviously 192.168.0.2 is not going to work.

sdt

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Dnia niedziela, 14 maja 2006 01:11, Sebastian Tennant napisa³:

Quoted 19 lines

I've recently got a new modem. In fact, it's a modem-router with NAT functionality. Before I had a plain modem-modem, and I was able to access my workstation from my remote server using the IP address assigned to me by my ISP. Now however, that IP address only reaches the modem-router and the IP address of my workstation is set by my modem-router to 192.168.0.2

How can I reach my workstation now that I have to go through the modem-router?

For instance, if I want to ssh into my remote server and issue a command that copies a file from my remote server to my workstation using scp:

 $ scp file.txt [email protected]:/home/sebyte/Desktop/file.txt

what IP address should I use? Obviously 192.168.0.2 is not going to work.

Quoted 6 lines

sdt

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Hi,

you have to use port forwarding and / or DMZ funcionality on your router if it has it.
For instance you can forward port 22 from router to your internal box where
ssh deamon is running. Than you can use your public ip form isp x.y.z.a:22 to reach your ssh deamon.

Pozdrawiam
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc