Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Port forwarding script for PiaVpn with rTorrent compatibilty

License

Notifications You must be signed in to change notification settings

kz6wk9/piavpn-rtorrent-port-forwarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

THIS SCRIPT IS CURRENTLY OUT-OF-DATE

piavpn-rtorrent-port-forwarding

Port forwarding script for PiaVpn with rTorrent compatibilty

NOTE: This script is already distributed by PIA, this is a modified version of it that includes rTorrent compatibility by overwriting the port-range configuration to the port that will be passed to you by the PIA server every time a new port is called.

NOTE2: This script assumes that you're running it with the user that will run rTorrent, and that rTorrent is using the default configuration file location (.rtorrent.rc in your HOME directory).

Installation and Usage

  1. Connect to the VPN.

  2. Run the following commands:

$ git clone https://github.com/Deracinator/piavpn-rtorrent-port-forwarding.git
$ cd piavpn-rtorrent-port-forwarding/
$ chmod +x port-forwarding.sh
$ ./port-forwarding.sh
  1. Supposing everything went well, you will see (as an example, obviously):
Loading port forward assignment information...
Updating rTorrent port range...
{"port":56498}

  1. And that's it!

Tested in archlinux on January/2020 with PIA on openvpn.

About

Port forwarding script for PiaVpn with rTorrent compatibilty

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages