Subject: does IPNAT work or not?
To: None <email@example.com>
From: Olli <firstname.lastname@example.org>
Date: 02/12/1999 19:20:06
I setup my NetBSD-1.3.2-box as a dialup-router. I did the following:
1. recompiled the kernel with option GATEWAY, pseudo-device ipfilter
2. installed ppp (in rc.conf -> call /etc/ppp/peers/isp) with demand
3. setup IPNAT + IPF (no entries in /etc/ipf.conf -> no firewalling)
OK - it should work. I called telnet 126.96.36.199 (is
physik.phy.tu-dresden.de) from my Linux (debian1.network.de, IP
192.168.1.2) - the NetBSD-box (netbsd1.network.de, IP 192.168.1.1)
established a connection to my ISP via modem. But I didn't get any
response from the remote host. So I lauched up tcpdump on the
dialup-router. I'm not sure how to interpret the output:
<time><some numbers> debian1.network.de.10227 >
<time><some numbers> win 512 <mss 1460> [tos 0x10]
<time><some numbers> arp who-has debian1.network.de tell
<time><some numbers> arp debian1.network.de is-at 52:54:0:de:6d:51
<time><some numbers> physik.phy.tu-dresden.de.telnet >
debian1.network.de.1027: S 339
<time><some numbers> 52:54:0:de:30:e > 3:0:0:0:0:1 sap f0 ui/C ln0145
< block with some numbers>
<time><some numbers> 192.168.1.3 netbios-dgm >
192.168.1.255.netbios-dgm: udp 201
- and so on.
I'm not sure why 192.168.1.3/255 are called - this IP's are not given
to any computer in my network?
Has anyone an idea why I didn't get back a response to my telnet
program on my Linux-box?
thanks a lot.