Skip to content
/ home-vpn Public
forked from aursu/home-vpn

PureVPN OpenVPN connect with iptables kill-switch

Notifications You must be signed in to change notification settings

OxCom/home-vpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home-vpn

PureVPN OpenVPN connect with iptables kill-switch

Description

  1. .rtorrent.rc - rtorrent client configuration file.

    • with as low seeding as possible,
    • with /var/data/movies directory to move compelted torrents into,
    • with /var/data/downloads as session store directory (also consider it as current working directory)
    • with rtorrent listen and communicating on port 8080
  2. login.conf - configuration to store authentication credentials for PureVPN service

  3. vpnonly-eno1.sh - killswitch for PureVPN. It is require manual adjusting:

    • IFACE= - should point to network interface for which default route is set (in my case Ethernet eno1)
    • DNS= - DNS server to allow traffic to and from (in most cases - router IP address)
    • LOCALNET= - local network address (which PC reside on)
    • VPNGWS= - array of VPN gateways' IP addresses to allow traffic to killswitch required to stop external traffic in case of VPN tunnel failure
  4. run.sh - script to run OpenVPN client using provided configuration file (default path is PUREVPN.ovpn in the same directory). Script acceppts only one positional parameter which should be VPN configuration file

  5. nofw.sh - script to cleanup iptables from killswitch rules and enable IPv6 traffic back

  6. New+OVPN+Files - PureVPN OpenVPN configuration files downloaded at the end of 2019

  7. tv - IPSec/L2TP VPN settings to use with remote VPS to route TV traffic through it (short description available at README

Usage

./run.sh
./vpnonly-eno1.sh
rtorrent

About

PureVPN OpenVPN connect with iptables kill-switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%