Page 1 of 1
Port Forward script error
Posted: Sun Feb 16, 2025 11:37 pm
by Surfsup78
Rogs,
First off, thank you for this amazing setup. Second, it's been an extraordinary journey from casual MacOS user to a functional yams-docker setup on Debian 12. I have been stuck on the port forwarding instructions for about a week, and every rabbit hole I've followed hasn't panned out yet. I have received a syntax error for the script on line 23 after running the script:
/opt/yams/scripts/update-port.sh: line 23: syntax error near unexpected token ('
/opt/yams/scripts/update-port.sh: line 23:
curl -s -i --header "Referer: http://${QBITTORRENT_SERVER}:${QBITTORRENT_PORT}" --cookie "$1" "http://${QBITTORRENT_SERVER}:${QBITTORRENT_PORT}/api/v2/app/preferences" | grep -oP '(?<=\"listen_port\"\:)(\d{1,5})''
Running YAMS on Debian 12, on a separate drive than where my media saves to. YAMS is functioning after following your guide with protonvpn and all dockers running and working together.
Thank you
* UPDATE Port Forward script error
Posted: Mon Feb 17, 2025 2:07 am
by Surfsup78
I re-read some of the forum and found the wireguard/port forward github. I've set that up on my protonvpn, however when I run it on yams I am stuck on the process at:
"2025-02-17T01:43:28Z INFO [vpn] You are running 1 commit behind the most recent latest"
The process is stalled at this point, and when I run a yams check-vpn it shows it's still openvpn in a country I didn't set for wireguard. Thank you
*edit protonmail to say protonvpn
Re: Port Forward script error
Posted: Mon Feb 17, 2025 12:01 pm
by rogs
Hey @Surfsup78!
Ok, so you have a custom Wireguard Proton config. Make sure you follow all the instructions in the documentation: https://github.com/qdm12/gluetun-wiki/b ... otonvpn.md. It looks like Gluetun can't connect to the VPN, and you might be missing a config.
Cheers!
Roger.
Re: Port Forward script error
Posted: Mon Feb 17, 2025 5:03 pm
by Surfsup78
Thank you, looks like I have some more homework to do!