New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING: WireGuard does not seem to be running. main process exited. FirewallD is not running #95
Comments
Run In my tests there is a version mismatch between
Would you like to open a PR to add these packages for centos? wireguard-install/wireguard-install.sh Line 157 in 59570c7
|
In my case i got following when running Yours mentioned commands:
I rebooted and "systemctl restart wg-quick@wg0.service" is failed/exitted as before, with following lines in "journalctl -xe" output:
"ifconfig" does not show wg0 interface. @randomshell says "Would you like to open a PR to add these packages for centos?" |
In your case firewalld is not running. We configure wireguard to use firewalld over iptables if the system supports it. You can enable firewalld or if you have reasons to disable it you can edit
Replace |
angristan#95 (comment) Fedora might need this change too.
Yes, without replacing $SERVER_WG_NIC and $SERVER_PUB_NIC by values from /etc/wireguard/params it was failing complaining about bad ACCEPT parameter in iptables command. Unsure why i had to replace it, but after replacing, it worked (wg service started). |
- cleaned some minor code - use IPv6 if IPv4 isn't available - add input validations, fixes #86 . - assign secondary DNS to primary DNS value if it's empty. Fixes #68 - use `$SERVER_WG_IPV4` and `$SERVER_WG_IPV6` when suggesting the client IP - save user DNS to `params` file and apply it to all clients, removing support for customizing DNS for individual clients. If this is a problem we can add again the code to allow customization but maybe use the sourced DNS as a suggestion for clients that need a different one - add shellcheck ignores, needed for IDE that have shellcheck support - escaped variables to `"${var}"` style - updated README to reflect changes - fixed the kernel mismatch issue on CentOS by updating the kernel #95 (comment). Fedora might need this change too - Use `firewall-cmd` only if `firewalld` is running. Fixes #95 - Fix the client's subnet mask. Fixes #87 - Save the client configuration in the correct `$HOME`. Fixes #96 Co-authored-by: Chris Lewicki <chris@lewicki.dev> Co-authored-by: Stanislas <angristan@pm.me>
Thank You for creating this VPN installer.
I tried to run it on CentOS Linux release 7.7.1908 (Core), kernel 3.10.0-1062.18.1.el7.x86_64
Only issues i seen was "WARNING: WireGuard does not seem to be running."
systemctl status wg-quick@wg0 -l
I also tried quick look on "journalctl -xe" but seen nothing interesting. Which commands to run to discover the cause of the issue? On same server is running OpenVPN server which i am actively using:
systemctl status openvpn@server.service -l
openvpn is using device tun and 10.8.0.0 as IP. But maybe the issue is not caused by OpenVPN.
The text was updated successfully, but these errors were encountered: