Personal firewall with two interfaces

Sven-Åke Svensson sa at mbg.se
Wed Dec 10 02:58:33 PST 2008


Hi



I use the following in my pf.conf


# Macros
ext_if="{ em0 iwi0 }"




Sven-Åke




Leslie Jensen skrev:
> Hello
> 
> I'm running pf as my personal firewall on my laptop.
> 
> I've got one ethernet and one wifi interface, both are configured during 
> boot.
> 
> I usually make a change pf.conf where I change
> 
> # ext_if="em0"
> ext_if="rum0"
> 
> or vice versa.
> 
> My problem is that if the "wrong" interface is active in pf.conf 
> there'll be some waiting for ntpd sshd and bsdstats to time out.
> 
> I would like to configure pf so that both interfaces are treathed the 
> same, only one active interface at the time, but to remove the need for 
> a manual change of pf.conf at startup.
> 
> Any hints are appreciated.
> 
> Thank you
> 
> /Leslie
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"



More information about the freebsd-pf mailing list