I've set up a WireGuard server on an Ubuntu VM, and it's partially functional. The current status is as follows:
Working:
- Pings from the server to devices behind the tunnel
- Pings from the remote side into my network
- Pings from local clients to the WireGuard network (after adding gateway and routes on OPNsense)
Not Working:
- SSH connections (freeze after ~30 seconds)
- HTTPS connections (reloading ~30 seconds)
Interestingly, when I remove the routes and gateway on OPNsense and configure local routes on Windows instead, everything works normally.
What could be causing the issue with my OPNsense configuration that makes only static routes on Windows work properly?
How can I improve my overall setup to resolve these connectivity problems?
Any insights or suggestions would be greatly appreciated. Thank you!
After endless searching and since I'm relative new to this topic, I found my solution. In Firewall => Settings => Advanced, I checked Bypass firewall rules for traffic on the same interface. Now everything is working, and I only need to take care of Routes on the OpnSense site.