OPNsense Forum

English Forums => Virtual private networks => Topic started by: kluk42 on June 16, 2024, 07:34:03 PM

Title: Routing Issue on a VPS with OpnSense and WireGuard
Post by: kluk42 on June 16, 2024, 07:34:03 PM
Hi there, I am currently trying to set up a WireGuard server with the following main goals:

     
The current plan is to have a server with a public static IP address running OPNSense, WireGuard and AdGuard Home (see attachment)

Both Sites will run a Unifi Cloud Gateway Ultra as their Router/Firewall because it's affordable and supports WireGuard. I already have it set up on Site A, the unit for Site B did not arrive yet.

What I already did:

What already works:


What doesn't work is to ping anything in the local network of Site A (10.0.0.0/8) with my mobile device.
A ping from 172.21.21.3 to 10.0.0.50 for example will not work.

I skimmed through the logs of the OPNSense firewall and found that the icmp package that is transmitted (and forwarded through the firewall) has the static IP address of the server as its origin.
Maybe thats an issue, maybe thats expected - I don't really know, my knowledge with this kind of setup is very limited, could you maybe help me out ? :)

I very much appreciate your insights :)

Let me know if you need any additional data (e.g. client configs).