--=-d+tiQISlnAV2+Y09XWsw Content-Type: text/plain Content-Transfer-Encoding: 7bit > What I'm trying to do is this: if the high speed connection goes down (which it seems to do > frequently :-P ) I want iptables to default to the dialup connection. And vice versa (I have > iptables set up to use a particular link for a particular service). Is this possible? And if it is > possible, how do I do it/where do I look to learn/etc. Thanks. Let's say that your internal interface is eth0, your WAN is eth1, and your modem is ppp0 You can set up your iptables rules so that instead of referring to "-i eth1" or "-i ppp0" they refer to "-i ! eth0" As far as changing your routes, that is not up to iptables, that is up to the way that you programatically determine if the WAN interface is up. -Ben. --=-d+tiQISlnAV2+Y09XWsw Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4"> </HEAD> <BODY> <BR> > What I'm trying to do is this: if the high speed connection goes down (which it seems to do <BR> > frequently :-P ) I want iptables to default to the dialup connection. And vice versa (I have <BR> > iptables set up to use a particular link for a particular service). Is this possible? And if it is <BR> > possible, how do I do it/where do I look to learn/etc. Thanks. <BR> <BR> Let's say that your internal interface is eth0, your WAN is eth1, and your modem is ppp0 <BR> You can set up your iptables rules so that instead of referring to "-i eth1" or "-i ppp0" <BR> they refer to "-i ! eth0" <BR> <BR> As far as changing your routes, that is not up to iptables, that is up to the way that you <BR> programatically determine if the WAN interface is up. <BR> <BR> -Ben. </BODY> </HTML> --=-d+tiQISlnAV2+Y09XWsw--