angristan / wireguard-install

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

Warning: Script corrupted my NGINX and APACHE2 in HestiaCP #354

Closed afzl-wtu closed 1 year ago

afzl-wtu commented 1 year ago

In my oracle cloud VM instance (Ubuntu 22.04 arm64) I was really enjoying HestiaCP running NGINX and APACHE2 very well. And Then unfortunately I executed this script to install wireguard. First of All any of clients generated with this script does not work at all. So Forget about Wireguard. It also made my nginx and apache2 corrupted. Apache2 and Nginx even do not start now. They give following error when Sudo systemctl start apche2:

(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 10.66.66.1:8443

nginx:

nginx: [emerg] bind() to 10.66.66.1:80 failed (99: Cannot assign requested address)

I do not know what network change your script made. Even uninstalling wireguard from inside the script did not help.

Update

So I fixed hestiaCP by changing my system ip by :

v-delete-sys-ip 10.66.66.1 v-update-sys-ip v-list-sys-ips

Suggestion

use Wireguard-install script by Nyr. It works really good and automate every thing.