OPNsense Forum

English Forums => Virtual private networks => Topic started by: arvi89 on December 03, 2022, 02:55:42 PM

Title: Weird routing when my openvpn client is up on my firewall
Post by: arvi89 on December 03, 2022, 02:55:42 PM
Hello everyone, I have an issue with my installation and I can't figure out what's going on.

I have installed an openvpn client on the firewall that only routes the traffic from a specific IP in my network and that works great (with a kill switch if it goes down).

Now I have installed wireguard server by following the doc (very well explained), except that's where something weird happens: if openvpn is down, it works perfectly fine, but if openvpn is up, the out traffic of wireguard is somehow routed through openvpn and it doesn't work at all (I had a similar issue while trying to set up a vlan guest, a soon as I turend openvpn it would't work).

(https://preview.redd.it/rkhwjjolpy2a1.png?width=1527&format=png&auto=webp&s=a3eca7ebe1b654192c1538893b063c57a2ed87a7)
We can see it come in through WAN (from my mobile phone), but what leaves is through ProtonCH which is my openvpn client.

I'm completely lost and would love some input :)

Thank you!

I can share any config if needed.