Problem with ppp and pf on FreeBSD 5.3
Kay Abendroth
kay.abendroth at raxion.net
Thu Dec 16 05:07:45 PST 2004
Hello,
first of all: good choice choosing *BSD/UNIX.
Mauricio Brunstein wrote:
> I am new to FreeBSD, and UNIX in general but form the beginning I'm
> fascinated. I had configured a FreeBSD 5.3 machine to be the
> Firewall/gateway of 8 windows PC's. The machine has 2 interfaces one
> (fxp0) is connected to the ADSL modem and the another (rl0) is
> connected to a switch where the windows boxes are connected too. The
> first problem is that sometimes, when ppp redial to the pppoe Internet
> provider, I can use Internet from the FreeBSD machine, but not from
> the internal network. I had found a workaround to this problem, I added
> these lines to ppp.linkup
> --------------------------------
> server:~ $ cat /etc/ppp/ppp.linkup
> default:
> ! pfctl -F all -f /etc/pf.conf
> ! /usr/local/etc/ez-ipupdate.conf
> ---------------------------------
[...]
The '! pfctl...'-line is ok, but the last one is bogus. Your intention
was to start ez-ipupdate, but what you actually do is calling its
configuration-file. You should change this to:
! /usr/local/etc/rc.d/ez-ipupdate.sh start
And in ppp.linkdown you should have a line:
! /usr/local/etc/rc.d/ez-ipupdate.sh stop
Bye,
Kay
More information about the freebsd-stable
mailing list