Skip to content

Instantly share code, notes, and snippets.


Adam Ayala swoopsta

View GitHub Profile
swoopsta /
Last active Mar 2, 2021 — forked from GAS85/
Force Torrent/user Traffic through VPN Split Tunnel on Ubuntu 18.04

Difference to Original:

  1. Add random VPN Land change on start/restart.
  2. Add IP Tables rules that avoid nginx reverse proxy usage.

Lets start

You have fullcontrol over which applications you want to route over VPN. You will have an Automatic Kill Switch implemented (using firewall rules) so if your VPN connection drops or breaks, your real IP address will not be revealed and torrent traffic will stop. DNS leaks are also prevented. Remote access to your Torrent client of choice (Transmission or Deluge) is possible.

View gist:ebd6fbe79ae23bc7b268568728926ae8
* Template Name: Example Custom Template
* See the codex entry on custom template for more information:
* Add html above or below the_content inside the comments
* Add php snippets as well with their own opening and closing php
global $avia_config, $post;