OPNsense Forum

English Forums => Virtual private networks => Topic started by: mfpck on November 22, 2021, 04:06:28 PM

Title: Wireguard with assigned Interfaces - Known Issues !?
Post by: mfpck on November 22, 2021, 04:06:28 PM
Hello,

Are there know issues when using the Wireguard plugin with assigned Interfaces ?
Because eg. In particular I was able to reproduce two exotic behaviors:

setup:
Two Wg instances (site2site & roadies) on two Opnsense21.7.5  hw boxes.
Both instances are assigned to an Interface each.
Site2site works and the roadies work as well.

It seem that Wg. releated Firewall Rules do not apply correct to Wg. assigned interfaces and or work randomly or just work after a reboot?
See attached two screenshots - Just applied after a reboot !?

Further it is quiet often necessary to manually reload unbound to get it to work for wg roadies (...) ?

All ideas and knowledge will be appreciated !
Title: Re: Wireguard with assigned Interfaces - Known Issues !?
Post by: mfpck on November 22, 2021, 07:37:01 PM
For testing purposes I decided to delete all my asssigned interfaces to test my setup and fw. rulesets only via the default Wireguard tab BUT this is now gone, why ? It was always present and unused....restartet wg and the Opnsense as well  :( still gone.

What do I miss here  ?
Title: Re: Wireguard with assigned Interfaces - Known Issues !?
Post by: chemlud on November 22, 2021, 07:40:36 PM
assign a fresh wg interface, but do not enable...
Title: Re: Wireguard with assigned Interfaces - Known Issues !?
Post by: mfpck on November 22, 2021, 07:45:15 PM
haha ok. which one or doesn't matter, just to trigger the generation of the default one ?