nat pass on $ext_if from any to any -> ($ext_if)
Create a /etc/dhclient-enter-hooks or /etc/dhclient-exit-hooks script that updates PF's rules when the IP address is renewed.bbzz said:Anyone got an idea? How to make pf update $ext_if with IP address change?
wblock@ said:From any? It should be from anything internal, $int_if or $int_net.
ext_if = "vge1"
wblock@ said:Two things:
First: I don't see why IP address should matter. ext_if is an interface name, not an IP address.
Second:
Code:nat on $ext_if from any to any -> ($ext_if)
From any? It should be from anything internal, $int_if or $int_net.