Add doc on PIA_PORT_FORWARD

This commit is contained in:
nmc 2019-10-13 00:17:07 -04:00
parent 42a65dc2b3
commit bc57b56552
2 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ $ docker run --privileged -d \
|`UMASK`| No | GID applied to config files and downloads |`UMASK=002`|
|`WEBUI_PORT_ENV`| No | Applies WebUI port to qBittorrents config at boot (Must change exposed ports to match) |`WEBUI_PORT_ENV=8080`|
|`INCOMING_PORT_ENV`| No | Applies Incoming port to qBittorrents config at boot (Must change exposed ports to match) |`INCOMING_PORT_ENV=8999`|
|`PIA_PORT_FORWARD`| No | Request and set a port forward when using PIA (Private Internet Access) Overrides `INCOMING_PORT` when enabled |`PIA_PORT_FORWARD=true`|
## Volumes
| Volume | Required | Function | Example |

View File

@ -167,7 +167,8 @@ if [[ $VPN_ENABLED == "yes" ]]; then
sleep 5
# PIA port Forward
if [[ $PIA_PORT_FORWARD == "yes" ]]; then
# https://www.privateinternetaccess.com/helpdesk/kb/articles/can-i-use-port-forwarding-without-using-the-pia-client
if [[ $PIA_PORT_FORWARD == "true" ]]; then
echo "Trying to get a port forward from PIA" | ts '%Y-%m-%d %H:%M:%.S'