Skip to content

Quasar VPN Configuration without routing everything over tunnel

bluenote73 edited this page Mar 7, 2017 · 2 revisions

# HOW TO CONFIGURE QUASAR AND WINDOWS FOR A VPN SETUP ADVANCED SPLIT-TUNNEL

You will require:

  • OpenVPN client from OpenVPN site
  • A VPN subscription and your .ovpn file from your VPN provider - you may have to contact support for this
  • Kodi installed and a working Quasar installation that is tested working.

Here's an overview of what we're going to do:

  1. Install the OpenVPN client and disable IPV6 on the adapter created
  2. Configure the OpenVPN client to connect to your provider using the .ovpn config file you obtained from your provider
  3. Modify the .ovpn file so that OpenVPN does not route traffic over the tunnel by default
  4. Configure Quasar's outgoing and listen interfaces to point to the VPN tunnel by GUID
  5. Test Quasar and our tunnel by adding a magnet link from ipmagnet torrent test tracker and comparing the IP's we get

Install OpenVPN client and configure .ovpn:

Download the OpenVPN client and install it using the defaults when prompted.

Before going any further, disable IPV6 on the adapter that OpenVPN created. You do this by opening Network and Sharing center, and selecting 'Change adapter settings' on the left. Then select the adapter that says 'TAP-Windows Adapter V9' (which you can rename if you like) right-click and select 'Properties'. Then uncheck the 'IPV6' item. Press OK to exit.

Run the OpenVPN GUI from the shortcut created. In the taskbar by the clock, right click the OpenVPN client icon and select 'Import file' then point it to your .ovpn file you received from your paid VPN provider. If you don't have it, contact their support, not us.

This will result in your .ovpn file being imported into C:/users/YOURUSER/OpenVPN/config (or you could just copy it there yourself). To stop OpenVPN from routing all traffic through the tunnel, add this to your .ovpn file after the config options.

route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
ovpn edits

Now, right click the OpenVPN icon in the taskbar by the clock, and select 'Connect'.
A window should pop up for a few moments, and your icon should turn green signifying successful connection.

Once you are connected, you're ready to configure Quasar. But we need the GUID identifier for our VPN tunnel adapter.
An easy way to get this is to right click the OpenVPN icon in the taskbar and select 'Show Status' to bring up the status window. Then find the GUID, select it, and right-click copy.

Configure Quasar to only use the VPN adapter for our torrents:

Go into Quasar settings, and paste our GUID into 'Listen interfaces' and 'Outgoing interfaces'. Press OK, then close Kodi and re-launch.

Testing Quasar using the Tunnel

Go to the Quasar Web UI at http://(your hostname):65251/web/
Open up a second window to http://ipmagnet.services.cbcdn.com (Any other similar service can be used, there are others available if you google)
Right click and copy the 'magnet link', then switch to the Quasar Web UI, select 'Add Torrent' and paste in the magnet link.

If the IP of your Quasar connection as reported by ipMagnet differs from the IP reported on the ipmagnet page for your browser, you know you've successfully created a split tunnel.