Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] routing

"Booth, Christopher (Aus) - ATP" wrote:


> What IPTABLES or route commands would I need to use to enable it to use ppp0
> as the interface that it connects through instead ?

I'm not up todate with how the latest ppp stuff works, but the old stuff
issues a command like

route add default dev ppp0 

after it connects. This stuff is/was in ip-up and ip-down or something
similar. On disconnection you would issue something like

route add default dev eth0

check with "netstat -a" before, during and after dial-up to see how the
system is already changing it.

   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: terryc@xxxxxxxxxx  www: http://www.woa.com.au  
   Wombat Outdoor Adventures <Bicycles, Books, Computers, GIS>

 "People without trees are like fish without clean water"