|
|||
Help with OpenBSD 4.8 and NAT
Hi everybody,
I decided to upgrade my Openbsd 4.5 to 4.8, I use it only to split my internet connection using NAT. In 4.5 everything is working fine, but in version 4.8 they changed the syntax for the NAT rules in pf.conf. Here is my working 4.5 pf.conf: Code:
# cat pf.conf int_if="hme0" ext_if="pppoe0" set block-policy return set loginterface $ext_if set skip on lo match on pppoe0 scrub (max-mss 1440) nat on $ext_if from !($ext_if) to any -> ($ext_if) Code:
ext_if="pppoe0" int_if="xl1" set block-policy return set loginterface $ext_if set skip on lo match on pppoe0 scrub (max-mss 1440) match out on $ext_if from !($ext_if) nat-to ($ext_if) Thanks in advance |
|
|