Prevent IP leakage when server offline

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
anyad
OpenVpn Newbie
Posts: 5
Joined: Fri Jan 08, 2016 3:19 pm

Prevent IP leakage when server offline

Post by anyad » Tue Jan 26, 2016 2:55 pm

Server: win7 pro
Client: win7 pro

Basically what I want to accomplish is that when the server becomes offline, the client should not disconnect in any circumstances thus preventing any applications which are running in the background to leak my real IP.

How can this be accomplished??? or is this by default??? is resolve infinite the default setting???

ValdikSS
OpenVpn Newbie
Posts: 7
Joined: Thu Sep 24, 2015 10:00 am

Re: Prevent IP leakage when server offline

Post by ValdikSS » Wed Jan 27, 2016 7:57 am

Code: Select all

resolv-retry infinite
persist-tun
But that doesn't protect you in all cases. You'd better use up/down scripts which uses firewall, or write a plugin.

Post Reply