Re: PF + PPPoE

2006-01-18 Thread stephen
On 1/17/06, Bill Marquette <[EMAIL PROTECTED]> wrote: > And yet pf doesn't care about interfaces that don't exist if your > syntax is correct. > Note that I had > to comment out the set loginterface which can't possibly work if tun0 > doesn't exist. so pretty much it won't load at start time if

Re: PF + PPPoE

2006-01-17 Thread Joe S
Easy. In the file /etc/ppp/ppp.linkup add these 2 lines MYADDR: ! sh -c "/sbin/pfctl -ef /etc/pf.conf" This will enable your pf rules every time the link comes up. [EMAIL PROTECTED] wrote: Good day, I am using freebsd 6.0 with PF and running a ADSL PPPoE internet connection. My PF rulese

Re: PF + PPPoE

2006-01-17 Thread Bill Marquette
On 1/17/06, stephen <[EMAIL PROTECTED]> wrote: > what rudi means to say is, in his rc.conf he has stuck instructions > for his ppp to start on boot, and for pf to load on boot. problem is > freebsd creates tun0 when ppp runs for the first time, not when the > machine boots up, and as his pf.conf re

Re: PF + PPPoE

2006-01-17 Thread stephen
what rudi means to say is, in his rc.conf he has stuck instructions for his ppp to start on boot, and for pf to load on boot. problem is freebsd creates tun0 when ppp runs for the first time, not when the machine boots up, and as his pf.conf refers to tun0, pf won't start if it runs before ppp has

Re: PF + PPPoE

2006-01-16 Thread Bill Marquette
On 1/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >Without the ruleset it's going to be kind of difficult to help. This > >does work, which means there's something wrong with your rules. > > > >--Bill > > My apologies, here is my pf.conf file: > > #define Macros > ext_if = "tun0" > in

Re: PF + PPPoE

2006-01-16 Thread derth
>Without the ruleset it's going to be kind of difficult to help. This >does work, which means there's something wrong with your rules. > >--Bill My apologies, here is my pf.conf file: #define Macros ext_if = "tun0" int_if = "fxp0" tcp_services = "22" priv_net = "{ 127.0.0.0/8, 192.168.0.0/24,

Re: PF + PPPoE

2006-01-16 Thread Bill Marquette
On 1/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Good day, > > I am using freebsd 6.0 with PF and running a ADSL PPPoE internet connection. > > My PF ruleset uses tun0 for the external interface but sometimes the ppp > dialler does not start in time and the PF rules fail to load. Then af

PF + PPPoE

2006-01-16 Thread derth
Good day, I am using freebsd 6.0 with PF and running a ADSL PPPoE internet connection. My PF ruleset uses tun0 for the external interface but sometimes the ppp dialler does not start in time and the PF rules fail to load. Then after a few seconds the PPPoE connection get's established and I have