From: Terry L. I. <tin...@ha...> - 2008-05-22 12:01:59
|
JLG wrote: > I have an OpenVPN client deployed on a very insecure network, and I have > OpenVPN configured (in tun mode) with the "redirect-gateway" option so > all of the client's internet traffic goes through the tunnel. I want to > configure the client in such a way that, if the OpenVPN tunnel is not > established (or goes down for any reason), the client will not have > internet access--in other words, I want to prevent the client from > inadvertently using an unencrypted connection. I'm looking for a > straightforward way to accomplish this. > > Any ideas? > > Thanks, > JLG > i'm not 100% sure, but you could probably place logic in an ifdown script to install a null route when the tunnel goes down.... |