NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

egress in pf not working



I am trying to setup a rule in pf.conf on NetBSD10
my internal interface is re0 => 192.168.6.2/24
my internet connection is pppoe0 => with a public internet IP
netstat -rn shows pppoe0 as default

my pf.conf says:
nat on egress inet from re0:network to any -> (egress) round-robin

it accepts the pf rule but  the command:  pfctl -sn shows 
nat on egress inet from re0:network -> (egress)
when shoud be:
nat on pppoe0 inet from re0:network -> (pppoe0)
and pf does not do nat..


Am I missing something???


Home | Main Index | Thread Index | Old Index