I have a (Windows) client that uses a OpenVPN to project an "outside" 
address (on a Linux server), by using the tunnel as its default route. 
In the client ccd file, I have this:

-----
ifconfig-push 10.12.0.45 10.12.0.46
push "redirect-gateway"
-----

And I have iptables set to do the right thing with SNAT:

-A POSTROUTING -s 10.12.0.45 -o eth0 -j SNAT --to-source 1.2.3.4

This all works great ... until it doesn't.  What happens is that the 
upstream connectivity goes down for whatever reason, and so the tunnel 
on the client side breaks and the routes that were installed on the 
Windows machine are removed.  So it's back to having a "normal" default 
route.  Later, the upstream connectivity comes back, and the tunnel is 
reestablished with the server, but the default routes don't get put back 
in.

I'm using 2.3.4-I003 on the Windows XP client, and it uses IPAPI to do 
the routes.

Has anyone else seen this before?

Thanks,

/jordan 


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to