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
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
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
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
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
>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,
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
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