Tr0go <[EMAIL PROTECTED]> writes:

> My ISP is resetting the line every 20 hours. So it run
> automatically ppp.linkdown which restart pf with new
> parameters as tun0 get a new IP address and pf rules
> need to be updated... and THAT is the problem.

Isn't that what the (interface) notation is supposed to take care of?
as in

ext_if = "tun0" # macro for external interface - use tun0 for PPPoE
int_if = "xl1"  # macro for internal interface
# ext_if IP address could be dynamic, hence ($ext_if)
nat on $ext_if from $int_if:network to any -> ($ext_if) 

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"

Reply via email to