Comments on How to set up Wireguard VPN on CentOS 8
Wireguard is an open-source cross-platform VPN implementation that uses state of the art cryptography. It is faster, simpler and more functional than IPSec and OpenVPN.
2 Comment(s)
Comments
Hello,when i enter the command as you specified, i get the following error message:$ sysctl -p /etc/sysctl.d/99-custom.confsysctl: cannot stat /proc/sys/net/core/default_qdisc: No such file or directorysysctl: cannot stat /proc/sys/net/ipv4/tcp_congestion_control: No such file or directorynet.ipv4.ip_forward = 1net.ipv4.conf.default.rp_filter = 1net.ipv4.conf.all.rp_filter = 1sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directorynet.ipv6.conf.all.forwarding = 1$ firewall-cmd --add-interface=wg0 --zone=internalError: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argumentJSON blob:{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-netbios-ns-udp", "type": "netbios-ns", "protocol": "udp"}}}]} Rocky Linux release 8.4 (Green Obsidian) Kernel 4.18.0 is used. And it is a virtual machine. Do you have a suggestion where the problems are?
Edit the file /etc/sysctl.conf for IPv4 forwarding in Rocky Linux and then retry again.