Date: Thu, 16 Dec 2004 13:07:39 +0000 From: Kay Abendroth <kay.abendroth@raxion.net> To: freebsd-stable@freebsd.org Subject: Re: Problem with ppp and pf on FreeBSD 5.3 Message-ID: <41C1889B.2080801@raxion.net> In-Reply-To: <5982296404121514234afb345e@mail.gmail.com> References: <5982296404121316301232bcde@mail.gmail.com> <598229640412141458dd6ae07@mail.gmail.com> <5982296404121514234afb345e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C1889B.2080801>
