Skip to content

Instantly share code, notes, and snippets.

@verisgit
verisgit / portchange.sh
Last active February 16, 2019 15:36
Dynamic port forwarding for Raspberry Pi (RPI) running OVPN Private Internet Access (PIA) with qbittorrent
#!/bin/sh
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
# Private Internet Access Advanced Port Forward Script for RPI / Raspberry Pi with qBittorrent. Can be adapted to other torrent clients.
# Updated 16/02/2019
#Prerequisites:
#Raspberry Pi running OVPN with PIA scripts (https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=223589&p=1371204#p1371204)
#QBittorent must be set to allow unauthorised localhost access. Options>WebUI>Authentication>Bypass authentication for localhost
@verisgit
verisgit / pia.sh
Last active October 5, 2018 11:18 — forked from dapperfu/pia.sh
#!/bin/tcsh
# Grab user information.
echo "PrivateInternetAccess OpenVPN Setup:"
echo " https://www.privateinternetaccess.com/"
echo -n "User: "
set user = $<
echo -n "Pass: "
set pass = $<