Hi,
I am trying to setup WireGuard server on my Rocky Linux 9 however it is failing on:
# dnf install kmod-wireguard wireguard-tools
Last metadata expiration check: 0:00:34 ago on Thu 03 Nov 2022 10:01:46 GMT.
No match for argument: kmod-wireguard
Error: Unable to find a match: kmod-wireguard
I’ve had several issues with wireguard and masquerade with Rocky Linux. The connection just drops until I stop wireguard. I haven’t found a solution yet, just voicing my issues as well.
I am attempting to use the built in module yes. There seems to be some kind of SELinux issue, folks are writing guides now instructing people to disable it, which I will not be doing. I can use libreswan over IKEv2 if I have to though I am tiring of it.
Run the following command in the terminal: sudo dnf install wireguard-tools
When prompted for confirmation, type y and press enter to proceed.
The installation process will begin, and the WireGuard kernel module will be enabled on the server, along with the installation of the wireguard-tools.