[geeks] setting up modem/router for sshd
William S.
wstan at xs4all.nl
Mon May 13 12:41:47 CDT 2002
I am currently connected to the internet via an
ISDN/ADSL Alcatel modem. It is currently acting as
a router (gateway '10.0.0.138') for my single pc
(10.0.0.150). I also have a static ip address
which is (213.84.66.123).
I would like to set up sshd on my pc so that I can
log into it from the outside. The only problem I seem
to have is that any attempts to log into 213.84.66.123
with ssh goes to my router/modem, not the pc with sshd
running. I kinda verified this using telnet 213... :
was directed to the modem/router.
I guess what I need to do is make the proper entry(s)
in my ip address/route table so that packets sent to
213.84.66.123 port 22 go to my pc, not the modem.
Below is a copy of my tables that are programmed into the
modem. I can change the entries via a web interface.
Can anyone tell me what I need to change to make it
work?
---IP address table---
Intf Address Netmask Type Transl
MXS 213.84.66.123 255.255.255.0 Auto pat
eth0 10.0.0.138 255.0.0.0 Extra none
cip0 172.16.1.1 255.255.255.0 CIP none
loop 127.0.0.1 255.0.0.0 Auto none
---IP route table---
Destination Source Gateway Intf
10.0.0.0/8 10.0.0.0/8 10.0.0.138 eth0
213.84.66.123/32 any 213.84.66.123 MXS
255.255.255.255/32 any 10.0.0.138 eth0
10.0.0.138/32 any 10.0.0.138 eth0
172.16.1.1/32 any 172.16.1.1 cip0
127.0.0.1/32 any 127.0.0.1 loop
172.16.1.0/24 any 172.16.1.1 cip0
10.0.0.0/8 any 10.0.0.138 eth0
default 10.0.0.150/0 213.84.66.123 MXS
--
Bill
Amsterdam, NL
More information about the geeks
mailing list