WireGuard routing error
-
Hello there,
How to check WireGuard routes from the command line?
It looks like one of the allowed IPs net range not routing
properly. I checked the routes with the netstat -rWn command
but the subnet is missing only the WG network appears.
Looks like the packages going out on default route instead
what I set up.Do you have any idea what's wrong?
Comments appreciated.
-
@barni WireGuard on pfSense doesn't set routes, it is up to you. So you have to do it twice for a Subnet not directly connected to pfSense.
-
Thank you so much!
I created an Interface for the WG tunnel
set a Gateway to WG peer address via this Interface
and created a static route to opposite
network through this new GW.It is working fine now!
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.