On Wed, Mar 12, 2003 at 01:08:33PM +0100, Edwin Kremer wrote:
> 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.
>
Bingo! this fixed it instantly. :-)
Thanx a lot.