Port Forward script error

Questions about qBittorrent or Gluetun (VPN).
Post Reply
Surfsup78
Posts: 5
Joined: Sun Feb 09, 2025 5:01 pm
United States of America

Port Forward script error

Post 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

Surfsup78
Posts: 5
Joined: Sun Feb 09, 2025 5:01 pm
United States of America

* UPDATE Port Forward script error

Post 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

Last edited by Surfsup78 on Mon Feb 17, 2025 2:08 am, edited 1 time in total.
User avatar
rogs
Site Admin
Posts: 238
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Port Forward script error

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Surfsup78
Posts: 5
Joined: Sun Feb 09, 2025 5:01 pm
United States of America

Re: Port Forward script error

Post by Surfsup78 »

Thank you, looks like I have some more homework to do!

Post Reply