Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Wireguard with OSPF
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard with OSPF (Read 2974 times)
tajs
Newbie
Posts: 2
Karma: 0
Wireguard with OSPF
«
on:
May 04, 2020, 10:38:37 pm »
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:
Code:
[Select]
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 .
«
Last Edit: May 04, 2020, 10:50:35 pm by tajs
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Wireguard with OSPF
«
Reply #1 on:
May 05, 2020, 07:56:32 am »
Hm, never saw this one, bu I also dont run OSPF. Maybe it's more related to WireGuard or FRR?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
tajs
Newbie
Posts: 2
Karma: 0
Re: Wireguard with OSPF
«
Reply #2 on:
May 05, 2020, 10:16:45 am »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Wireguard with OSPF