Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 13:13:51 -0700 (MST)
From:      RJ45 <rj45@slacknet.com>
To:        freebsd-questions@freebsd.org
Subject:   problem with ipnat
Message-ID:  <Pine.LNX.4.21.0203071311370.5863-100000@slacknet.slacknet.com>

next in thread | raw e-mail | index | archive | help

hello.
I have the following weird problem.
This is what my NAT box is doing:
map fxp0 from 192.168.100.0/24 ! to 193.206.x.0/24 -> 192.84.z.254/32

I would like to add a subnet like this:

map fxp0 from 192.168.100.0/24 ! to 193.206.y.0/24 -> 192.84.z.254/32

In this way I want that DEST packets which are for subnets
193.206.x.0/24 and 193.206.y.0/24 being not natted at all so that I want
to use a static route and I do not want them to being natted.
I want to NAT only packets which are going out of MY lan and I have a
mixed LAN with mixed public and hidden IP.
If I add this rule NAT is not working properly and it NATs packets having
DEST IP of 193.206.y.0/24 but it should not. The 2 rules together does
not work. There is a way to put the 2 rules in only one single rule?
thanks

Rick




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0203071311370.5863-100000>