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

Re: ipnat/ipf and redirect still not working



Wim Vandeputte wrote:

> You probably reversed some of the ethernet names.

Nope. here is what I have:

rdr xl1 216.165.166.170/32 port 110 -> 180.9.4.160 port 110 tcp
rdr xl1 216.165.166.170/32 port 143 -> 180.9.4.160 port 143 tcp/udp
rdr xl1 216.165.166.170/32 port 25 -> 180.9.4.160 port 25 tcp/udp
rdr xl1 216.165.166.170/32 port 80 -> 180.9.4.160 port 80

map xl1 180.9.4.160/32 -> 216.165.166.170/32 portmap tcp/udp 15001:19000
map xl1 180.9.4.160/32 -> 216.165.166.170/32

ifconfig -a

xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        media: Ethernet 10baseT (10baseT half-duplex)
        inet 180.9.100.1 netmask 0xffff0000 broadcast 180.9.255.255
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        media: Ethernet 10baseT (10baseT half-duplex)
        inet 216.165.166.162 netmask 0xffffffe0 broadcast 216.165.166.191

ifconfig xl1

xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        media: Ethernet 10baseT (10baseT half-duplex)
        inet 216.165.166.162 netmask 0xffffffe0 broadcast 216.165.166.191
        inet 216.165.166.170 netmask 0xffffffff broadcast 216.165.166.170

xl1 is the external 'internet' side of life.

Sooo. As you can see the configs look right. There appears to be no
traffic going into the network across the interfaces though. Next, I am
going to run a sniffer on the internal and external interfaces to see if
any traffic does occur there.

-- 
Jesse Trucks
jtrucks@madison.com
Online Technical Producer
Madison Newspapers, Inc. - http://www.madison.com