bidirectional NAT in PF?

secucatcher at free.fr secucatcher at free.fr
Sat Sep 6 19:56:09 UTC 2008


Le Sat, 6 Sep 2008 14:14:04 -0500
"David DeSimone" <fox at verio.net> a pris sa plume:

>  rdr on $if_ext proto tcp from $int_net to <pub ip> port 80 -> \
> >    <priv ip>
> >  
> > nat on $if_int inet from <priv ip2> to any -> <pub ip2>
> > 
> > i nat on the internal interface and it is just working 

to be more clear the priv ip and pub ip on the tww line are different
and are own by the two server than must connect like they are on the net


More information about the freebsd-pf mailing list