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:
@@ -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
|
||||
|
Reference in New Issue
Block a user