iPherian / manual-connections

Scripts for manual connections to Private Internet Access
MIT License
10 stars 0 forks source link

Settings for locked down firewall setups e.g. that block outgoing by default. #4

Closed iPherian closed 3 years ago

iPherian commented 3 years ago

Adds settings for locked down firewall setups e.g. that block outgoing by default.

ENV Var Function
PIA_ON_DEMAND_UFW_RULES=true Before accessing an ip adds a firewall rule allowing outgoing access to it and then removes it afterwards. (requires ufw)
PIA_ADD_VPN_ENDPOINT_TO_UFW=true Adds a firewall rule allowing outgoing access the vpn endpoint (permanently).
PIA_SERVERLIST_HOST_IP="xxx.xxx.xxx.xxx" The ip for the serverlist host ( serverlist.piaservers.net ). When specified allows it to be accessed without having to permit DNS on the open net through the firewall.