Open jcn50 opened 4 months ago
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?)...
We should mention somewhere (doc/ADMIN.md
) that this setting should NOT be changed. :)
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?