Wiki: Openvpn wiki page

OpenVPN on managed boxes

You can use your account on our shared servers to tunnel your internet connection through your seedbox via VPN. To achieve this, you need to setup openvpn on your local machine to connect to your seedbox.


Table of Contents


OpenVPN setup per platform

Windows

  1. Download OpenVPN GUI from here
  2. Go to the details page for the box you want to setup OpenVPN for on the Bytesized website.
  3. Press Config generators then choose Generate OpenVPN config button to download your config.
  4. Extract the contents of the zipfile and navigate to the folder where you extracted the files, right click it and select Start OpenVPN with this config file.
  5. Enter your username and password.
  6. Make sure to run OpenVPN GUI as admin so you can use the VPN through your browser!
  7. Follow the marked parts on the picture bellow so your OpenVPN can work Imgur

OS X

We are gonna use Viscosity to setup OpenVPN on OS X.

  1. Download Viscosity from their website.
  2. Drag it to your Applications folder and start it.
  3. Go to the details page for the box you want to setup OpenVPN for on the Bytesized website.
  4. Press Config generators then choose Generate Viscosity config button to download your config.
  5. Unzip the contents if your finder did not do so yet.
  6. Double click the Bytesized.visc file to import it to Viscosity.
  7. Press the Viscosity icon in your toolbar and press connect to config.

Linux

Command line solution

For linux, install openvpn (either with your distribuions package manager or from source if not available). For example, for ubuntu or debian do:

apt-get install openvpn.

you probably want to save the configuration fila as /etc/openvpn/seedbox-vpn.conf and the certificate as /etc/openvpn/ca.crt

Now, if you want to connect through the vpn, simply run

sudo openvpn --config /etc/openvpn/seedbox-vpn.conf

(or omit the sudo and run as root if you are not using sudo) This should route all traffic through your box!

Protip: You need to either be in the directory of your ca.crt when you run this command, or set an absolute location in your config file.

Protip2: Your SSH is the password needed to use this. Please make a note of this, as your Dashboard password will not work if you have changed your SSH password.

Graphical solution
sudo apt-get install network-manager-openvpn

Left click the network manager icon. Go to VPN-Connections -> Configure VPN... Click Add and select OpenVPN

"Connection name":  myseedbox (or what ever)

"General"
  "Gateway":        "yourserver".bytesized-hosting.com

"Authentication"
  "Type":           "Password"
  "User name":      your_username
  "Password":       your_password
  "CA Certificate": "Browse to the downloaded ca file"

Then click Advanced... and check (leave the rest):

"General"
  [x] "Use LZO data compression"
  [x] "Use TCP connection"

Possible problems and fixes


No internet access after connection to VPN

Some people do not get internet access after connecting you can try adding the following nameservers this resolves the issues in most cases: 195.24.72.6 and 83.243.8.6

Windows
  • To do this, click on Control Panel and navigate to Network Connections, or you can click on the internet icon on the lower right. Once you connect to the VPN, it should have created a new connection.

box panel

  • My new connection was labeled as unidentified but it doesn't matter. Click as indicated in the above to get:

box panel

  • Select Internet Protocol Version 4 and click on Properties. Fill in the DNS servers like so:

box panel


Last Author Contributors Versions Last update
Marin Maran, Alchemist, NurdTurd, joesilicon, Cheazy2k1 23 Tue, 05 Sep 2017 23:31:37 +0200