OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: serversonic on April 27, 2023, 06:28:21 PM

Title: Connecting Fritzbox to OPNSense using Wireguard
Post by: serversonic on April 27, 2023, 06:28:21 PM
I can see some activity in the forum regarding this in German but it's a lot to read through Google Translate.

My home broadband has a Fritzbox that has been updated to support Wireguard, and I have a remote OPNSense VM with Wireguard installed. The Fritzbox either creates a Wireguard configuration file to install on a remote device, which is mostly intended for mobile devices, or requires a Wireguard configuration file generated by the remote device.

I have tried manually creating a configuration file from an OPNSense connection to import into the Fritzbox but can't get this to work. I have also tried in the other direction and have had no success that way either. On the OPNSense VM I can see that outbound connection attempts to negotiate but fail. I don't have any meaningful logging on either side to diagnose.

So I think in this order:
- Has anyone achieved this kind of connection?
- Can logging be enabled for Wireguard, and how?
- Is it possible to export a Wireguard confiig from OPNSense at all
- Would it be possible to add this to the Wireguard plugin?

Thanks
Simon
Title: Re: Connecting Fritzbox to OPNSense using Wireguard
Post by: cookiemonster on April 27, 2023, 10:50:48 PM
This resource goes explaining what needs to be done https://homenetworkguy.com/how-to/configure-wireguard-opnsense/. I imagine you can use it to figure out what to do on each peer.
Title: Re: Connecting Fritzbox to OPNSense using Wireguard
Post by: serversonic on April 28, 2023, 12:39:01 PM
Thanks, I found that, it was pretty much what I was following, but the Fritzbox is the hard bit as it doesn't give away a lot in terms of debugging information.
Title: Re: Connecting Fritzbox to OPNSense using Wireguard
Post by: alex3003 on June 09, 2023, 08:19:28 AM
Hallo zusammen,
ich stehe vor dem gleichen Problem.

Hat jemand schon eine Wireguard Verbindung zwischen OPNsense und Fritzbox hin bekommen?
Title: Re: Connecting Fritzbox to OPNSense using Wireguard
Post by: tiermutter on June 09, 2023, 09:05:12 AM
This sub forum is english ;)
Maybe you should open an new thread in german sub forum or search for existing threads regarding this issue (mentioned in post #1).