Am Freitag, 18. Dezember 2009 22:38:54 schrieb Tom Eastep: > On Fri, 18 Dec 2009 21:58:01 +0100 > > KP Kirchdoerfer <kap...@bering-uclibc.de> wrote: > > 1) The dsl are disconnected once a day so the remote gateway for ppp0 > > and ppp1 changes after a unkown time (24hrs+x). This causes a > > sluggish connection from the loc zone to the internet. I do believe > > this is cause the route cache is not really refreshed after shorewall > > restart. A network restart with /etc/init.d/networking restart cures > > that symptoms though. > > You can see what the compiled script does -- after 'shorewall restart', > the script is in /var/lib/shorewall/.restart. > > > Will it help to run shorewall stop; ip route flush cache; shorewall > > start instead of of just restart shorewall? Any other ideas? > > I think you will find that Shorewall is already executing 'ip route > flush cache'.
Ok, I've been afraid that it won't be that easy. > > 2) Due to the change if the pppx interfaces the origin ip-address of > > the smtp server changes as well, this may end up in false reverse > > lookups for the MX I'm afraid. > > I've read about route_rules to route smtp through a given provider. > > I'd like to route through a specific gateway adress, which isn't > > bound to a provider since the providers are both dynamic dsl/ppp > > lines.... > > Trying to run an SMTP server on a host with a dynamic IP address sounds > dicey at best. Just for clarification: both dsl lines do have a static ip. With "dynamic" I tried to describe the fact, that the ppp addresses (with static ip adresses and seperate gateways) may change for ppp0/ppp1 when the ppp interfaces goes up and down. So I do not have a fixed IP's and routes for ppp0 and another one for ppp1, although I have fixed IP's for two dsl/ppp lines. kp ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users