Respect user-selected WG_PORT #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I found that setting the WG_PORT env var did not successfully change the listen port of the service. This fills that in in the wg0.conf template.
This bug also affects TrueNAS Scale, as it seems. When installing the wg-easy app in TrueNAS Scale, the default port is
30057. So if you don't know better and just confirm the default options, Wireguard won't work at all.It was really hard to find the cause and I finally ended up in this pull request. Is there anything blocking you from merging @WeeJeWel? I was able to fix it by defining the correct port, but other users might not find this info and get stuck.
Hey, I forgot about this! Yes, I'd love to have this merged :)
This repo has moved to wg-easy/wg-easy.
Pull request closed