Date: Wed, 10 Dec 2008 11:37:00 +0100 From: =?ISO-8859-1?Q?Sven-=C5ke_Svensson?= <sa@mbg.se> To: freebsd-pf@freebsd.org Subject: Re: Personal firewall with two interfaces Message-ID: <493F9BCC.7000703@mbg.se> In-Reply-To: <493E82B3.5090002@eskk.nu> References: <493E82B3.5090002@eskk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?493F9BCC.7000703>
