nscd or unbound are needed to be present on the system or the following error happens:
$ sudo systemctl start wg-quick@wg0
Job for wg-quick@wg0.service failed because the control process exited with error code. See "systemctl status wg-quick@wg0.service" and "journalctl -xe" for details.
$ sudo systemctl status wg-quick@wg0
● wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0
Loaded: loaded (/lib/systemd/system/wg-quick@.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Ne 2020-02-23 15:02:28 CET; 7s ago
Docs: man:wg-quick(8)
man:wg(8)
https://www.wireguard.com/https://www.wireguard.com/quickstart/https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
Process: 10539 ExecStart=/usr/bin/wg-quick up %i (code=exited, status=5)
Main PID: 10539 (code=exited, status=5)
úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip -4 address add 10.19.49.3/24 dev wg0
úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip link set mtu 1380 up dev wg0
úno 23 15:02:28 kachnak wg-quick[10539]: [#] resolvconf -a tun.wg0 -m 0 -x
úno 23 15:02:28 kachnak wg-quick[10539]: Failed to try-restart nscd.service: Unit nscd.service not found.
úno 23 15:02:28 kachnak wg-quick[10539]: Failed to try-restart unbound.service: Unit unbound.service not found.
úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip link delete dev wg0
úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=5/NOTINSTALLED
úno 23 15:02:28 kachnak systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0.
úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Unit entered failed state.
úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'.
* X.509 Name Constraints
* nameConstraints to a random generated uuid
* Second level domain
* nameConstraints fixes
* critical in nameConstraints lost after last refactoring
* update variable name to store_pki
* Document BetweenClients_DROP
* Update README.md
* Update faq.md
* VPN On Demand is for Apple IPSEC clients only
* How to update users from cloud-init
* How to monitor user activity
* Fix typo
* Update FAQ about WireGuard, fix typos
* Correct locations of install log and user configs
* Update-users from cloud-init
* Update features list
* More "IPsec" and "WireGuard" changes
* fixed broken link/absent link in FAQ
* Python version README fix for #1622
* road warrior instructions
* Update index.md
* Reorganize config.cfg
As per @davidemyers suggestions
* Further config changes
As per feedback, also better explanation of keys_clean_all
* Add road warrior instructions to FAQ
* Remove specific ports from RW instructions
* Update README.md
As noted in #1599 we don't have any instructions for CentOS 7. Closes#1599
* Update README.md
Co-Authored-By: David Myers <dem@myersnet.net>
* Added troubleshooting entry related to lack of a CA certificate in MacPorts.
* Try to fix the link
* Try to fix the link
* Try to fix the link
* line-breaking of error message
* update error message and text
* use password module to generate password
* fix variable reference
* reduce character set to meet origin design
* CA and p12 password chanes
- Move the CA_password generation task to the native lookup plugin
- Get rid of unneeded tasks