Skip to content

ProtonVPN Port Forwarding Setup #2633

Answered by IBNobody
IBNobody asked this question in Q&A
Discussion options

You must be logged in to vote

This is what I got working...

It's not pretty, and I settled on running it as a task on my Synology (docker exec), but it works for now.

I'll open another question regarding the transmission-remote and passwords.

#!/bin/bash
source /etc/openvpn/utils.sh

. /etc/transmission/environment-variables.sh

# Settings
TRANSMISSION_PASSWD_FILE=/config/transmission-credentials.txt

transmission_username=$(head -1 ${TRANSMISSION_PASSWD_FILE})
# transmission_passwd=$(tail -1 ${TRANSMISSION_PASSWD_FILE})
transmission_passwd=<insert your unhashed pw here>
transmission_settings_file=${TRANSMISSION_HOME}/settings.json

# sleep 5

bind_port () {
pf_port=$(natpmpc -a 0 0 tcp 60 > nul ; natpmpc -a 0 0 udp 6…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@IBNobody
Comment options

Answer selected by IBNobody
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants