In your rules, you didn't specify the protocol so the default of ipnat is tcp. For any rule using port, you need specify protocol.
Gilberto On Sun, 12 Feb 2006 15:22:26 +0100 "Janne Rockstedt" <[EMAIL PROTECTED]> wrote: > Hi all! > > My ipnat.rules: > map xl1 192.168.0.0/24 -> 0/32 portmap tcp/udp auto > map xl1 192.168.0.0/24 -> 0/32 > map xl1 192.168.0.0/24 -> 0.0.0.0/32 proxy port 500 ipsec/udp > rdr xl1 0/32 port 2222 -> 192.168.0.52 port 2222 > > My: # ipnat -l > map xl1 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp auto > map xl1 192.168.0.0/24 -> 0.0.0.0/32 > map xl1 192.168.0.0/24 -> 0.0.0.0/32 proxy port isakmp ipsec/udp > rdr xl1 0.0.0.0/32 port 2222 -> 192.168.0.52 port 2222 tcp > > > > Why is last raw on ipnat -l showning TCP on port 2222? > I have not used tcp in my ipnat.rules on the port 2222 > > //Jan > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to "[EMAIL PROTECTED]"
