Currently, We are setup the port first, and add client.
If the company firewall block the port, even if you add a new client, it is using the same port.
I was wondering if we can directly change the port of existing client instead of using workaround.
Expect:
./wireguard-install.sh
What do you want to do?
1) Add a new user
2) Revoke existing user
3) Uninstall WireGuard
4) Change Port
5) Exit
Select an option [1-5]: 4
Currently, We are setup the port first, and add client. If the company firewall block the port, even if you add a new client, it is using the same port. I was wondering if we can directly change the port of existing client instead of using workaround.
Expect:
./wireguard-install.sh What do you want to do? 1) Add a new user 2) Revoke existing user 3) Uninstall WireGuard 4) Change Port 5) Exit Select an option [1-5]: 4
Workaroud:
Change the port in
then restart WireGuard:
Reference: https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04