Quoting Rene Veerman <[EMAIL PROTECTED]> on Sun, Mar  9 2003 14:27 UTC+0100:

> So, reloading the ruleset after booting fixes the problem.

Since you're starting the PPTP from /usr/local/etc/rc.d, which is pretty
late in  the boot procedure  and at least  after loading the  IPF rules,
"tun0" does not exist at the time when you load the IPF rules.
You might need to re-sync the  in-kernel interface list ("ipf -y") after
the PPTP connection establishment.

I have a /etc/ppp/ppp.linkup script  (automatically invoked when the PPP
connection is established) that contains this:

  MYADDR:
    ! /sbin/ipf -y
    ! /sbin/ipnat -C -f /etc/ipnat.rules
    !bg /usr/bin/logger -i -p daemon.info -t pppt "ppp.linkup: ipf: interfaces 
refreshed and NAT loaded"


Not sure though, if this really fixes your problem.


Best regards,

-- 
Edwin Kremer <[EMAIL PROTECTED]>                   \ "Living on Earth includes
TUNIX Internet Security & Training               \      an annual free trip
Wijchenseweg 111, 6538 SW Nijmegen, Netherlands   \         around the Sun"
phone: +31-(0)24-3455000 / fax: +31-(0)24-3455001  \

Reply via email to