Wireguard with OSPF

Started by tajs, May 04, 2020, 10:38:37 PM

Previous topic - Next topic
May 04, 2020, 10:38:37 PM Last Edit: May 04, 2020, 10:50:35 PM by tajs
Hi Opnsense wizzards

First post here!

Does any one do OSPF over Wireguard and have it working ?

I have done some testing with 2 nodes, and can't see to get it behave probberly.
Tunnel is up and allowed ip is 0.0.0.0/0, Disable routes is checked. OSPF is configured and the 2 nodes can exchange the routes, but can't install the routes in the kernel.
i am getting the following error in the frr log:
kernel_rtm_ipv4: 192.168.3.0/24: rtm_write() unexpectedly returned -2 for command RTM_ADD

If i change the wg tunnel to allowed ip: 192.168.0.0/16, 224.0.0.0/8 and uncheck Disable routes, then the OSPF routes are able to be installed in the kernel, but this also installs 192.168.0.0/16 and 224.0.0.0/8 and then the idea of OSPF is gone .

Hm, never saw this one, bu I also dont run OSPF. Maybe it's more related to WireGuard or FRR?

I think i maybe is related to FRR and FreeBSD, but it is a wild guess.
its like there is a permission issue for FRR to install the routes.

Just wanted to check if anybody had the same issues.