All Collections
Premium services tutorials and troubleshooting
VPN
OpenVPN
How to use OpenVPN with your Premium Seedbox on Windows
How to use OpenVPN with your Premium Seedbox on Windows

Do you need more security? Then use a VPN connection. We have provided an OpenVPN tunnel to all of our boxes. Learn how to use yours

Updated over a week ago

Introduction

In this tutorial, you’ll learn how to connect to your pre-installed OpenVPN service in your Seedbox in order to hide your local IP address and increase privacy while browsing the internet.

For the scope of this guide, we are assuming that you know what an OpenVPN (VPN) is if you are not sure about it and require more information please check our FAQ.

Step 1

Download and Install the official OpenVPN client on your local device

Step 2

Download your .ovpn file by logging in from our website. You will access your Credentials page area that has all information related to your account.

You will see a picture like the following:

Step 3

Copy the configuration file to the config (configurations) folder of your OpenVPN client.

Step 4

Click on Connect in your OpenVPN client and the VPN connection sequence will begin. Shortly after you will be asked to submit your username and password. Please submit your credentials as provided in your Client Area.

Step 5

OpenVPN Client will now initiate the connection sequence and once completed you will be connected to your anonymous connection via the Seedbox. To verify a successful connection, your client will have a “Connected” status and its icon might be colored in green.

You are now browsing in a private VPN connection, congratulations!

What does it mean? It means that you are now being identified to the world wide web (internet) with your Seedbox/VPN IP, and all your traffic goes through your Seedbox’s VPN service.

Using a Whois service (like IPChicken) you will show your Seedbox/VPN IP as proof that your browsing experience is now private.

(Optional) Fix DNS leak

First of all, for solving this problem you must be positive that when you are connected to the VPN, you use only the DNS server/s that your VPN service is providing.

Version v2.3.9+

From OpenVPN version 2.3.9 you can solve the DNS leaks problem by specifying a new OpenVPN option.

Therefore open the .conf (or .ovpn) file that you use to connect to the server, and add the following on a new line.

block-outside-dns

Version older than V2.3.9

This problem can be solved in 3 steps:

  • Before connecting to the VPN, set static IP address properties if you are using DHCP

  • After connecting, remove DNS settings for the primary interface

  • After disconnecting, switch back to DHCP if necessary or reapply original static DNS servers

For applying this fix two ways are available automatic and manual.

Automatic

The software is developed in order to fix DNS leaks on Windows.

You can download that software using this link: dnsfixsetup.exe

When downloading is finished run the dnsfixsetup file.

The purpose of this software is to generate three scripts for each OpenVPN configuration file to execute mentioned steps above.

Generated scripts are:

  1. configfilename_pre.bat – executed when you initiate the connection but before the connection is established – Calls pre.vbs – If any active DHCP adapters exist, switch to static

  2. configfilename_up.bat – executed when the connection is established – Calls up.vbs – Clear the DNS servers for all active adapters except the TAP32 adapter

  3. configfilename_down.bat – executed after the connection is disconnected – Calls down.vbs – Reconfigure adapters back to their original configuration

Manually

This solution implies that you need to clear DNS manually.

Also, the solution below does not switch the adapter to static if you are using DHCP.

If you do not switch to a static IP configuration and your computer renews its IP address whilst connected to the VPN, the DNS settings may be overwritten. It is highly recommended to switch to a static IP configuration.

1. As an administrator run Command Prompt or PowerShell

2. Identify the name of the connected network interface.

netsh interface show interface

In our case, it is “Local Area Connection”

3. Connect to VPN

4. Once connected flush the DNS resolver cache

ipconfig /flushdns 

5. Disable the DNS configuration for the Interface identified

 
netsh interface IPv4 set dnsserver "Local Area Connection" static 0.0.0.0 both

6. After disconnecting, reconfigure the adapter to renew the previous DNS settings

netsh interface IPv4 set dnsserver "Local Area Connection" dhcp 

8. Flush DNS resolver cache.

ipconfig /flushdns

Click here for Linux

I don't know what to do next...

If you need any assistance, let us know by opening a chat in the lower bottom-right corner of your screen. We're here to help 😄

Did this answer your question?