Skip to content
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

Closed
1 task done
elronzo opened this issue Jun 20, 2024 · 5 comments
Closed
1 task done

Setting SERVERPORT has no effect #340

elronzo opened this issue Jun 20, 2024 · 5 comments
Labels
invalid This doesn't seem right

Comments

@elronzo
Copy link

elronzo commented Jun 20, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

- K3s
- wireguard container running as a K8s pod

CPU architecture

x86-64

Docker creation

not relevant

Container logs

n/a
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

Docker creation details are relevant and an example of the WG conf would be extremely helpful.

@j0nnymoe j0nnymoe added the invalid This doesn't seem right label Jun 20, 2024
Copy link

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

@Roxedus
Copy link
Member

Roxedus commented Jun 20, 2024

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.

@aptalca
Copy link
Member

aptalca commented Jun 20, 2024

There are lots of similar closed issues here

@aptalca aptalca closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
Development

No branches or pull requests

4 participants