WireGuard & Port Forwarding

Started by SomethingOrOther, July 10, 2020, 10:00:21 PM

Previous topic - Next topic
Today I fixed an issue where reply packet was sent via OpenVPN ofvsome other vpn Provider. Best would be to stop or disable all other vpn stuff to find the issue
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

in my case i did not have openvpn or ipsec enabled during my wireguard tests.

Only a wireguard interface and some vlans.

FYI, I ran into the same issue and opened a bug report on github, if anyone wants to chime in

https://github.com/opnsense/core/issues/4389

I have similar Problems.
I have 2 PPPoe Wan Adapter (1 for Voice and 1 for Filehosting) an 1 Default Gateway for nomal Internet surfing.

When i only open the Port to WG on the PPPoe for Fileosting i see the Traffic came in an that WG send some traffic out. But he didnt sent it back over the interfaces there it came from. He sends it over the Default GW (see it in tcpdump).

So the Handschake dont work.

Can you try if this also happens with -kmod?
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/


It uses ifconfig to create interfaces and the -go variant uses its own one. With -kmod e.g. also CARP works compared to -go
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Sorry for my question.

Does kmod mean to install it by hand and not through the sense GUI?

Yes, pkg install wireguard-kmod
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Ok. But i think if i install this, i cant use the gui anymore. Is that right?

Just Install an reboot, you still use the old Plugin and as backend the kmod
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/