Hi, I'm building a openvpn server. And when a client contects to the
server, I have to create a new rule for the NAT. So I create a nat-anchor in
my pf.conf like this:
nat-anchor nattunel
And when a client conetcts, it executes a script like this:
echo "nat on sis0 from ${IP_TUNNEL} to any -> ${IP_LAN} " | /sbin/pfctl -Fn
-a nattunel:${IP_TUNEL}.1 -f -
But, when I probe the system it doen't work. This is a dynamic nat.
Thanks in advance
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies