-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting SERVERPORT has no effect #340
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Docker creation details are relevant and an example of the WG conf would be extremely helpful. |
A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue. |
It will still listen to 51280. It will only set the port in the peer file, in the case you port forward 51280 to something else on the outside. It is only used as part of the generation of the endpoint line. |
There are lots of similar closed issues here |
Is there an existing issue for this?
Current Behavior
Setting the ENV variable SERVERPORT has no effect. Wireguard still listens on port 51280
Expected Behavior
SERVERPORT should provide the ability to set a custom port.
Steps To Reproduce
Set SERVERPORT to some other than the default port and do a wg show in the running container.
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: