angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
8.1k stars 1.31k forks source link

How to change server IP after initial script prompt? #348

Closed georgetian3 closed 2 years ago

georgetian3 commented 2 years ago

When initially running the script, I was prompted for the server's IP. This IP has since changed, but new configs still use the old IP. How can I change this?

georgetian3 commented 2 years ago

To answer my own question, edit SERVER_PUB_IP in /etc/wireguard/params.