[plug] ipchains vs iptables

Leon Brooks leon at brooks.fdns.net
Thu Mar 14 22:41:42 WST 2002


On Thursday 14 March 2002 22:39, David Broadway wrote:
> I've found I had to always load /sbin/route add default ppp0
> coz I did have it setup to an ip on my network, but now I want it to my
> ppp0 all the time! but I gotta set it once rebooted, where do u can't it?

in /etc/ppp/options, add a line saying

    defaultroute

If you want anything else to happen when your PPP link comes up, make a file 
/etc/ppp/ip-up.local and put your BASH commands in there. Remember to make it 
executable too (chmod a+x ip-up.local). The *.local files are special here in 
that they are not touched during upgrades.

Cheers; Leon



More information about the plug mailing list