As you are using an ADSL line - an ip-up script can be used by the ppp-daemon. I'd modify the script to actually perform the tasks you require.
Cheers Joerg Sjon Wijnolst wrote: > Dear list, > > Shorewall is running here with 2 ISP's: > ISP1: corporate ADSL-line with fixed set of IP's > ISP2: fast consumer-grade cable-connection with higher bandwidth > All our main traffic (web, e-mail) is routed trough ISP1. Only for > special purposes (frequent large ftp-transfers) ISP2 is used, configured > trough tcrules. > > ISP2 is not so reliable as ISP1 (duh) and they sometimes change the > IP-address of our connection. When the link is down, I'd like all > traffic to go trough ISP1 and alert myself by e-mail. If the IP-address > of ISP2 changes, I'd like networking and shorewall to be restarted in > order to initialize correct routing and firewall rules. > > Which tools can be used to monitor connections (up-down, IP) and act > uppon changes? Any experience? I've been looking into Paul Gear's > article but that doesn't really implement what I want. I understood > shorewall can be loaded with a different set of configuration files, so > I could create files for every scenario and load them with appropriate > command lines. > > -- > Best regards, > Sjon Wijnolst > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Shorewall-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shorewall-users -- ------------------------------------------------------------------------ | Joerg Mertin : [EMAIL PROTECTED] (Home)| | in Forchheim/Germany : [EMAIL PROTECTED] (Alt1)| | Stardust's LiNUX System : | | Web: http://www.solsys.org | ------------------------------------------------------------------------ PGP Fingerprint: AF0F FB75 997B 025F 4538 5AD6 9888 5D97 170B 8B7A ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
