[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Annoying NAT problem



Trying to setup ipnat with no luck.

1 nic card, two addresses (as discussed earlier) 24.108.86.247 and an
alias for 192.168.1.1

After having read through the FAQ on nat twice I've got

map tl0 192.168.1.0/24  -> 24.108.86.247/32  portmap tcp/udp 10000:60000
map tl0 192.168.1.0/24  -> 24.108.86.247/32

in my ipnat.rules. The Win98 machine I'm testing it with has
192.168.1.48 as an IP, 255.255.255.0 as the netmask, and 192.168.1.1 as
the gateway.  It can ping the gateway, and it shows up under ipnat -l as
MAP 192.168.1.1     0     <- -> 24.108.86.247   0     [192.168.1.48 0]
but I can't actually connect to the BSD box. Trying to telnet to 25
shows
MAP 192.168.1.1     25    <- -> 24.108.86.247   10004 [192.168.1.48
1033]
but it never connects.

That aside, trying to get outside of my 2 machine 'network' from the
Win98 machine doesn't do anything, when trying to ping an outside
machine it doesn't even show up under ipnat -l.

I have added pass in from any to any and pass out from any to any to my
IPF.

Any help would be appreciated.
Chris