[CUWiN] nat bogosity (was: circular route)

David Young dyoung at pobox.com
Fri Jan 20 15:38:56 CST 2006

On Fri, Jan 20, 2006 at 03:28:06PM -0500, simon-cuw at uc.org wrote:
> ipnat.conf's manpage indicates that you can negate a subnet from the mapping.
> If I do the following on Node A, it seems to get me a bit closer:
> map sip0 from ! to -> tcp/udp 10000:20000
> map sip0 from ! to ->
> I'm just having trouble confirming that 100%, as I don't have access to any systems on
> LAN-Z right now.

I see how that could work.  Run with it.

BTW, on 0.6.0 the NAT rules are like this, which does not quite have
the desired effect:

	rdr sip0 port 80 -> port 80 tcp
        map sip0 from ! to -> \
            portmap tcp/udp 10000:20000
	map sip0 from ! to ->

Eventually I will switch from ipf(4) to pf(4), which will give us a lot
more NAT flexibility.  I may have to do it sooner rather than later.


David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933

More information about the CU-Wireless mailing list