this adds the possibility to configure port forwarding according to the specs of perfect-privacy

(see: https://www.perfect-privacy.com/faq/ section How are the default forwarding ports being calculated?)
This commit is contained in:
Philip
2018-04-16 16:07:55 +02:00
parent 3a10ad860c
commit 6e35ed593f
3 changed files with 74 additions and 1 deletions

View File

@@ -67,6 +67,10 @@ if [ "$OPENVPN_PROVIDER" = "PIA" ]
then
echo "CONFIGURING PORT FORWARDING"
exec /etc/transmission/updatePort.sh &
elif [ "$OPENVPN_PROVIDER" = "PERFECTPRIVACY" ]
then
echo "CONFIGURING PORT FORWARDING"
exec /etc/transmission/updatePPPort.sh ${TRANSMISSION_BIND_ADDRESS_IPV4} &
else
echo "NO PORT UPDATER FOR THIS PROVIDER"
fi