Skip to content

This script allows setting up port forwarding when using openvpn (and maybe other methods) to connect to Private Internet Access VPN provider

License

Notifications You must be signed in to change notification settings

aalexgabi/setup-pia-port-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Description:

  This script allows setting up port forwarding when using openvpn (and maybe other methods) to connect to Private Internet Access VPN provider

Usage:

  Interactive mode:

    $ ./bin/setup-pia-port-forward
    Enter your Private Internet Access username:
    p1234567
    Enter your Private Internet Access password:
    Forward port is: 51900
    $

  Scripted mode:

    $ FORWARD_PORT=$(./bin/setup-pia-port-forward $PIA_USERNAME $PIA_PASSWORD)
    $ echo $FORWARD_PORT
    51900
    $

Credits:

  I wrote this script thanks to Brent Nowak who provided all details on how the Private Internet Access API works in his blog post here: https://brentnowak.net/2014/10/22/port-forwarding-with-private-internet-access-vpn-service/

About

This script allows setting up port forwarding when using openvpn (and maybe other methods) to connect to Private Internet Access VPN provider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages