notthebee / ansible-easy-vpn

An Ansible playbook that sets up a Wireguard server with ad blocking, DNS-over-HTTPS, and a WebUI with 2FA
Other
1.06k stars 257 forks source link

wg port number not updating #263

Open wp-coin opened 9 months ago

wp-coin commented 9 months ago

after following the instructions in FAQ I changed the port number as described wireguard_port: "52345" custom.yml then ran the commands bash bootstrap.sh

but nothing has changed after logging in to wg.mywebsite.com

anybody know what is going on?

Environment:

notthebee commented 6 months ago

What exactly do you mean by "nothing has changed"?

DiMMMMM0N commented 6 months ago

If you change the port, internet stops working.

notthebee commented 6 months ago

Have you also changed the port in your client config?

DiMMMMM0N commented 5 months ago

Yes, I changed the port in the wireguard client configuration.

BigB2024 commented 2 months ago

Hi, I have the same problem, is there any other place that we should configure wirguard port beside custom.yml? For me, it changes only the port for interface side while I generate a new connection profile. Ansible-easy-vpn only works when I leave the port setting as default or configure as 51820 in custom.yml. So I am guessing there should be another place to set the port plus custom.yml Any Idea? (FYI, there is no firewall in either systems VPS, Client or ISP)