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

Changing the port does not work #108

Open
jcn50 opened this issue Jul 12, 2024 · 2 comments
Open

Changing the port does not work #108

jcn50 opened this issue Jul 12, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@jcn50
Copy link

jcn50 commented Jul 12, 2024

Changing the port from Wireguard Server Settings does not work and does not alter the YunoHost configuration/settings. Where is that $port_wg variable set and how to alter it?

@jcn50
Copy link
Author

jcn50 commented Jul 12, 2024

When installing/removing/installing WireGuard many times, the ports used after installation increase from 8095, to 8096, to 8097, etc. For changing back the port from 8097 to 8095 (default port), I have used those commands:

yunohost app setting wireguard port_wg -v 8095
yunohost firewall disallow TCP 8097 &&  yunohost firewall disallow UDP 8097 # your current port
yunohost firewall allow TCP 8095 && yunohost firewall allow UDP 8095 && yunohost firewall reload # default port

So I guess this can be closed (if nothing can be done to run this command from the APP?)...

@tituspijean tituspijean added the documentation Improvements or additions to documentation label Jul 30, 2024
@tituspijean
Copy link
Member

tituspijean commented Jul 30, 2024

We should mention somewhere (doc/ADMIN.md) that this setting should NOT be changed. :)

@tituspijean tituspijean added the good first issue Good for newcomers label Jul 30, 2024
tituspijean added a commit that referenced this issue Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants