From: Giacomo L. <gi...@la...> - 2006-08-26 08:49:16
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body dir="ltr" bgcolor="#ffffff" text="#000000"> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> Hi,<br> <br> i use shorewall 3.2.2 on a bering 3.x box with two isp providers, I've setup 3 openvpn that during startup add this routing rules:<br> <br> ip route add 192.168.11.0/24 dev tun0 table ADSL<br> ip route add 192.168.0.0/24 dev tun0 table ADSL<br> ip route add 192.168.11.0/24 dev tun1 table HDSL<br> ip route add 192.168.0.0/24 dev tun1 table HDSL<br> ip route add 10.9.0.0/24 dev tun0 <br> <br> the problem is that when i was not using shorewall to handle the routing table for the two internet lines, when the bering box was completely started, the routing tables showed correctly those entry, now that I've setup the files providers,tcrules and route_rules, the routing i try to add in the openvpn configuration file does not show up. It seems that because the openvpn daemon start before shorewall, when shorewall start it clears all the entries in those two defined tables. So to fix the problem, I've move those entries from the openvpn config file, to the started config file of shorewall. Maybe it's just a matter of changing the startup order of the two daemons, but would like some suggestions.<br> <br> thanks.<br> </body> </html> |