Problem with remote login - via dynamic DNS


Subject: Problem with remote login - via dynamic DNS
From: Iain Stevenson (iain@iainstevenson.com)
Date: Sun Feb 11 2001 - 14:28:37 MST


I'd like to be able to access my linux server remotely. It connects to my
ISP through an ADSL router (supplied by the carrier) and has a dynamic IP
address. The server does masquerading although turning this off seems to
make little difference.

I signed up to one of the dynamic DNS services and I've been trying to
telnet from a local client, via the Internet, back to my server. I have
been monitoring the link between the server and the ADSL router with
tcpdump.

If I ping the address selected from the dynamic DNS service (eg
fakeaddress.com) the ICMP packets show up fine. If I try telnet, I get
this:

Trying www.xxx.yyy.zzz....
Connected to fakeaddress.com.
Escape character is '^]'.

Telnet access denied
Connection closed by foreign host.

where www.xxx.yyy.zzz is the current IP address assigned to the ADSL router.
An exchange of packets is registered by tcpdump (attached at the bottom of
this email). Anyone know what the problem is? Or am I trying something
fundamentally dumb?

Iain

21:22:27.666822 > 192.168.254.1.38036 > 62.7.249.11.telnet: S
378519471:378519471(0) win 5840 <mss 1460,sackOK,timestamp 11918788
0,nop,wscale 0> (DF) 21:22:27.696822 < 62.7.249.11.telnet >
192.168.254.1.38036: S 2753682714:2753682714(0) ack 378519472 win 8508 <mss
1418, nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 2114208 11918788> (DF)
21:22:27.696822 > 192.168.254.1.38036 > 62.7.249.11.telnet: . 1:1(0) ack 1
win 5840 <nop,nop,timestamp 11918791 2114208> (DF) 21:22:27.696822 >
192.168.254.1.38036 > 62.7.249.11.telnet: P 1:25(24) ack 1 win 5840
<nop,nop,timestamp 11918791 211420 8> (DF) 21:22:27.716822 <
62.7.249.11.telnet > 192.168.254.1.38036: P 1:25(24) ack 1 win 8508
<nop,nop,timestamp 2114208 1191879 1> (DF) 21:22:27.716822 >
192.168.254.1.38036 > 62.7.249.11.telnet: . 25:25(0) ack 25 win 5840
<nop,nop,timestamp 11918793 21142 08> (DF) 21:22:27.716822 <
62.7.249.11.telnet > 192.168.254.1.38036: F 25:25(0) ack 1 win 8508
<nop,nop,timestamp 2114208 1191879 1> (DF) 21:22:27.716822 >
192.168.254.1.38036 > 62.7.249.11.telnet: F 25:25(0) ack 26 win 5840
<nop,nop,timestamp 11918793 21142 08> (DF) 21:22:27.716822 <
62.7.249.11.telnet > 192.168.254.1.38036: R 2753682715:2753682715(0) win 0
21:22:27.736821 < 62.7.249.11.telnet > 192.168.254.1.38036: R
2753682739:2753682739(0) win 8192 21:22:27.736821 < 62.7.249.11.telnet >
192.168.254.1.38036: R 2753682740:2753682740(0) win 8192



This archive was generated by hypermail 2a24 : Sun Feb 11 2001 - 14:31:15 MST