Subject: AGAIN-2: does IPNAT work or not?
To: None <netbsd-users@netbsd.org>
From: Olli <oliverko@dialup.nacamar.de>
List: netbsd-users
Date: 02/14/1999 10:07:57
This is a multi-part message in MIME format.
------=_NextPart_000_002C_01BE5801.E559ED00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi all,
I checked it again.
NetBSD-1.3.2: 192.168.1.1
Linux: 192.168.1.2
remote host: 141.30.4.242
I did the following:
1. ipnat -l befor I connect to my ISP:
-> List of active MAP/Redirect filters:
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 40000:60000
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32
-> List of active sessions:
2. ipnat -l after I established a connection to my ISP (telnet to
remote host from Linux). I got displayed that the l IP is changed to
195.63.108.220:
-> List of active MAP/Redirect filters:
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 40000:60000
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32
-> List of active sessions:
-> MAP 192.168.1.2 1024 <- -> 0.0.0.0 1024 [141.30.4.242 23]
Is it true that my Linux-box(192.168.1.2) is mapped to 0.0.0.0?
3. I killed the telnet-program on my Linux-box (ppp-connection is
still open) and called telnet again. Then ipnat -l displayes this:
-> List of active MAP/Redirect filters:
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 40000:60000
-> map ppp0 192.168.1.0/24 -> 0.0.0.0/32
-> List of active sessions:
-> MAP 192.168.1.2 1027 <- -> 195.63.108.220 1027 [141.30.4.242 23]
-> MAP 192.168.1.2 1024 <- -> 0.0.0.0 1024 [141.30.4.242 23]
Bruce Anderson (Subj:"Re: does IPNAT work or not?") told me that ppp
on demand does not work with dynamic IP's may this be true? And I will
never get my NetBSD-1.3.2-box working as a dialup-router (ecause I'm
using dyn. IP's for this host)?
4. I called "tcpdump -n -i ppp0" and telnet .
ip_nat.1 -> first time called telnet
ip_nat.2 -> first telnet killed and a second time called
Thanks a lot.
with regards,
oliver
------=_NextPart_000_002C_01BE5801.E559ED00
Content-Type: application/octet-stream;
name="ip_nat.1"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="ip_nat.1"
MDk6MTM6MjUuMzgyODEyIDAuMC4wLjAuMTA0OCA+IDE0MS4zMC40LjI0Mi4yMzogUyAxMzE3MDk2
OTI6MTMxNzA5NjkyKDApIHdpbiA1MTIgPG1zcyAxNDYwPiBbdG9zIDB4MTBdCjA5OjEzOjI4LjM3
NTAwMCAwLjAuMC4wLjEwNDggPiAxNDEuMzAuNC4yNDIuMjM6IFMgMTMxNzA5NjkyOjEzMTcwOTY5
MigwKSB3aW4gMzIxMjAgPG1zcyAxNDYwPiBbdG9zIDB4MTBdCjA5OjEzOjM0LjM3NTAwMCAwLjAu
MC4wLjEwNDggPiAxNDEuMzAuNC4yNDIuMjM6IFMgMTMxNzA5NjkyOjEzMTcwOTY5MigwKSB3aW4g
MzIxMjAgPG1zcyAxNDYwPiBbdG9zIDB4MTBdCjA5OjEzOjQ2LjM3NTk3NiAwLjAuMC4wLjEwNDgg
PiAxNDEuMzAuNC4yNDIuMjM6IFMgMTMxNzA5NjkyOjEzMTcwOTY5MigwKSB3aW4gMzIxMjAgPG1z
cyAxNDYwPiBbdG9zIDB4MTBdCjA5OjEzOjUxLjY1MDM5MCAxNTguMjAuMTcwLjE4MiA+IDcuMi44
LjI6IGlwLXByb3RvLTAgMTYgW3RvcyAweDFdIFt0dGwgMF0KMDk6MTM6NTIuNTk2Njc5IDMyLjEy
LjIyOC45NCA+IDcuMi44LjI6IGlwLXByb3RvLTAgMjAgW3RvcyAweDFdIFt0dGwgMF0KMDk6MTM6
NTIuNjEyMzA0IDMyLjEyLjIyOC45NCA+IDcuMi44LjI6IGlwLXByb3RvLTAgMTYgW3RvcyAweDFd
IFt0dGwgMF0KMDk6MTM6NTQuNjUyMzQ1IDE1OC4yMC4xNzAuMTgyID4gNy4yLjguMjogaXAtcHJv
dG8tMCAxNiBbdG9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c5NjggW3xpcF0KMDk6MTU6MjQu
ODEwNTQ4IFt8aXBdCjA5OjE1OjI0LjkxOTkyMSBbfGlwXQowOToxNToyOS44MTI1MDIgW3xpcF0K
MDk6MTU6MjkuOTIxODc1IFt8aXBdCjA5OjE1OjM0LjgxNDQ1NSBbfGlwXQowOToxNTozNC45MjQ4
MDQgW3xpcF0K
------=_NextPart_000_002C_01BE5801.E559ED00
Content-Type: application/octet-stream;
name="ip_nat.2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="ip_nat.2"
MDk6MTU6NDkuODIwMzE0IFt8aXBdCjA5OjE1OjQ5LjkyOTY4NyBbfGlwXQowOToxNTo1MC4yOTk4
MDQgMTk1LjYzLjEwOC4yMjAuMTA1MCA+IDE0MS4zMC40LjI0Mi4yMzogUyAyMjgyNTgwOTg4OjIy
ODI1ODA5ODgoMCkgd2luIDUxMiA8bXNzIDE0NjA+IFt0b3MgMHgxMF0KMDk6MTU6NTAuNDc3NTM5
IDE0MS4zMC40LjI0Mi4yMyA+IDE5NS42My4xMDguMjIwLjEwNTA6IFMgOTQ0NzY2OTc3Ojk0NDc2
Njk3NygwKSBhY2sgMjI4MjU4MDk4OSB3aW4gMTYzODQgPG1zcyA1MTI+CjA5OjE1OjUzLjI5MTk5
MiAxOTUuNjMuMTA4LjIyMC4xMDUwID4gMTQxLjMwLjQuMjQyLjIzOiBTIDIyODI1ODA5ODg6MjI4
MjU4MDk4OCgwKSB3aW4gMzIxMjAgPG1zcyAxNDYwPiBbdG9zIDB4MTBdCjA5OjE1OjUzLjYwMDU4
NSAxNDEuMzAuNC4yNDIuMjMgPiAxOTUuNjMuMTA4LjIyMC4xMDUwOiBTIDk0NDc2Njk3Nzo5NDQ3
NjY5NzcoMCkgYWNrIDIyODI1ODA5ODkgd2luIDE2Mzg0IDxtc3MgNTEyPgowOToxNTo1NC44MjMy
NDQgW3xpcF0KMDk6MTU6NTQuOTMyNjE3IFt8aXBdCjA5OjE1OjU5LjI5MTk5MiA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