Leslie Jensen wrote: > 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.
You should leave your pf.conf alone and rename your interfaces (based on which one is inserted -- maybe via devd). You could also code something up in like /etc/rc.d/early.sh to figure out which one is available and rename it. for example: ifconfig msk0 name external ifconfig xl0 name internal ifconfig sk0 name wireless and just leave ext_if="external" in your pf.conf. -- Mark Atkinson [EMAIL PROTECTED] (!wired)?(coffee++):(wired); _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"