Dynamic Addresses and PF
Paul J. Pathiakis
pathiaki at pathiaki.com
Mon Jan 24 12:41:44 PST 2005
if I'm using a DSL dynamic address, on an external i/f, should I be using
the parentheses everywhere?
ext_if2 = "tun0"
ext_gw2 = "184.108.40.206"
That is, on a NAT rule such as:
nat on $ext_if2 from $lan_net2 to any -> ($ext_if2)
should I write it as:
nat on ($ext_if2) from $lan_net2 to any -> ($ext_if2)
Also, since ext_if2 is declared as "tun0" for a DSLconnection, is there a way
to replace ext_gw2 in all my rules be something like ($ext_if2)?
That is, could I do this:
ext_gw2 = ($ext_if2)
at the beginning of declarations to allow the ext_gw2 variable to be set to
the dynamic IP address of the ext_if2?
Is this possible?
More information about the freebsd-pf