https://github.com/aursu/home-vpn
PureVPN OpenVPN connect with iptables kill-switch
https://github.com/aursu/home-vpn
killswitch openvpn rtorrent vpn
Last synced: 1 day ago
JSON representation
PureVPN OpenVPN connect with iptables kill-switch
- Host: GitHub
- URL: https://github.com/aursu/home-vpn
- Owner: aursu
- Created: 2020-01-28T21:03:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T19:15:05.000Z (12 months ago)
- Last Synced: 2024-10-28T20:23:34.578Z (11 months ago)
- Topics: killswitch, openvpn, rtorrent, vpn
- Language: Shell
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.sh` - killswitch for PureVPN. It is require manual adjusting:
* `DEVICE=` - should point to network interface for which default route is set (in my case Ethernet `eno1`)
* `DNS1=` - DNS server 1 to allow traffic to and from (in most cases - router IP address)
* `DNS2=` - DNS server 2 to allow traffic to and from
* `NETWORK=` - local network address (which PC reside on)
* `GATEWAY=` - local network gateway
* `VPNGWS=` - array of VPN gateways' IP addresses to allow traffic to
killswitch required to stop external traffic in case of VPN tunnel failure4. `run.sh` - A script to run the OpenVPN client using a specified configuration file. The default
configuration file is `PUREVPN.ovpn`, located in the same directory. The script accepts only one
positional parameter, which should be the path to the VPN configuration file.5. `nofw.sh` - A script to remove killswitch rules from iptables and re-enable IPv6 traffic.
6. `New+OVPN+Files` - Directory containing PureVPN OpenVPN configuration files downloaded in
April 2024.7. `tv` - IPSec/L2TP VPN settings for routing TV traffic through a remote VPS. For a brief
description, see the [README](tv/README.md).### Usage
```
./run.sh
rtorrent
```