OpenVPN – Permanently run as administrator

Start by right clicking on the OpenVPN desktop icon.

Select Properties

Go the the Compatibility tab, select the tick box at Privilege Level that says “Run this program as an administrator, click Apply, Click OK.

Disable IPv6 in Microsoft Windows (7)

Start by going to the Control Panel

Select View network status and tasks

Select Local Area Connection

Click Properties

Uncheck Internet Protocol Version 6 (TCP/IPv6) and click on OK.

Click Close to Finish.

Disable IPv6 in Mac OS X

Start by going to the System Preferences and selecting Network

Select Ethernet if you are using Ethernet and Wi-Fi if you are using Wi-Fi. Then click on Advanced

Change from Automatically

Set it to Link-local only and click on OK. This will stop your computer from trying to use IPv6 to connect to the internet.

Click on Apply to finalize the changes.

Sharing the VPN connection with PPTP or L2TP/IPsec on Mac OS X

If you are using Mac OS X and want to share the VPN connection to a device that doesn’t support VPNs? (TV/XBOX360/PS3) ?

This is how you do it with the built in internet connection sharing in Mac OS X:

In this setup i’m connected to the VPN with Wifi and I will be sharing the VPN on the LAN/Ethernet port.

  1. Go to System Preferences and select Sharing.
  2. Select Internet Sharing.
  3. Select the VPN to share from the drop down list.
  4. Select what interface to share the VPN to.
  5. Select the tick box on the enable the sharing.
  6. When the sharing is active the icon will become green and the status will change to: On.
  7. Plug in your device to the LAN/Ethernet port of the computer and you are good to go.

Save username and password in OpenVPN

Start by opening the config file that you want to save the username & password for.

I have used WordPad to edit the files in this how-to.

You can find the config files in the following folder: C:\Program Files\OpenVPN\config\

Edit the last line of the file and add a filename, I’ve used the filename password.txt:

Before editing the config file:

The config file should look like this after you have edited it:

Save the file. (Repeat this for all VPN servers that you want to save the username/password for)

Now create a new file with your username on the first line and your password on the second line:

Save the file as password.txt in your OpenVPN config dir (C:\Program Files\OpenVPN\config\).

You can now connect to the VPN without entering the username & password each time you need to connect.

Stop your IP being exposed after VPN disconnection

Computer IP showing after VPN disconnection? How to stop your IP being exposed after VPN disconnection.

It is inevitable that either because of a shaky ISP connection or some other network or software problem your Internet or VPN connection will drop at some point. In some cases you will not get a visible warning and you will carry on browsing or sharing files peer to peer as normal with your computer IP exposed for everyone to see.

The worst part of your VPN connection dropping out and not getting a warning is that you will not realize of this and your anonymous Internet surfing will have been compromised without you ever knowing, your OpenVPN software normally automatically reconnects after the VPN connection has dropped but by then your computer IP will have been compromised.

How to stop a VPN disconnection showing your computer IP?

  • Use a software application to stop IP exposure after VPN disconnection

VPN LifeGuard: Open source freeware application to protect yourself in the event of a VPN disconnection. It basically blocks Internet access in the event of a VPN disruption. (Windows)

VPNCheck: VPNCheck will disable your web browser or any other specified application to stop your real IP being exposed when your VPN connection breaks.(Windows/Linux)

VPNetMon:  VPNetMon prevents unsecured connections after your VPN connection goes down, VPNetMon will close down the specified applications when your Virtual Private Network disconnects. (Windows)

  • Use a firewall to force all your applications through the VPN:

Using a software firewall you can tell it to allow applications to connect only through the VPN, including your browser, the only downside to this is that firewalls all have very different configuration settings and you will probably need to read the documentation or ask at some computing forum about how to bind your browser with your VPN connection.

The firewall that comes with Windows is very limited and I am not sure if you can force all traffic through the VPN using Windows firewall, if you need a good free high quality software firewall consider PCTools Firewall or Comodo Firewall instead.

Sharing the VPN connection with Tunnelblick

If you are you using Mac OS X and want to share the VPN connection to a device that doesn’t support VPNs?
With Tunnelblick you can do it.

  • Create a filed called or anything you like.
  • chmod +x
  • start the file by running sudo ./ (You will be asked for you admin password)
  • When you type the command you will see output like the following:
  • Thats it, now connect your other devices set their default gateway to to the IP of the Mac OS X computer.
  • Turning off the sharing, create another file named
  • chmod +x
  • start the file by running sudo ./ (You will be asked for you admin password)