Date: Mon, 24 Jan 2005 15:41:41 -0500 From: "Paul J. Pathiakis" <pathiaki@pathiaki.com> To: freebsd-pf@freebsd.org Subject: Dynamic Addresses and PF Message-ID: <200501241541.41601.pathiaki@pathiaki.com>
next in thread | raw e-mail | index | archive | help
Hi, 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 = "70.1.2.3" 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? Thanks! Paul Pathiakis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501241541.41601.pathiaki>
