Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Static Routing How To

I am very confused why this isn't working on the Sophos XG but is working if I make a static route on a Windows 10 PC. The below is what I'm trying to accomplish and what the IP and subnets are that are involved. Any assistance in how to accomplish this on the XG would be greatly appreciated. I have tried creating static routes both in the advanced firewall console and in the GUI. Both do not work. However, the exact same methodology of creating static routes works in Windows.

Network 1

10.10.10.0/24

Sophos XG 10.10.10.254

FYI - PORT 1 and PORT4 are in a bridge for the LAN called br0

Wireguard VPN Running on 10.10.10.240

Wireguard Tunnel on Network 1 10.252.252.101

Network 2

192.168.50.0/24

Router 192.168.50.1

Wireguard VPN Running on 192.168.50.114

Wireguard Tunnel on Network 2 10.252.252.102

Using a Windows 10 PC I made two static routes as below and they allow me to communicate from that PC to both the tunnel network and the LAN network of Network 2. So the Wireguard tunnel works just fine and passes traffic properly. I just want this configured on the Sophos XG so it will work on ALL the network devices on Network 1.

route add 192.168.50.0 MASK 255.255.255.0 10.10.10.240

route add 10.252.252.0 MASK 255.255.255.0 10.10.10.240



This thread was automatically locked due to age.
Parents Reply Children
  • I have changed the route precedence to look like this now. Even with doing this though devices on my LAN still cannot ping 192.168.50.0 devices or 10.252.252.0 devices unless I add static routes on those devices.

  • Hello there,

    Thanks for these details. I would suspect you are facing Asymmetric routing issues,Asymmetric routing is when a packet takes a certain path from source host A across the network to destination host B but then a return packet takes a separate path from the source host B to destination host A.

    I may recommend adding a bypass configuration from Stateful inspection on your XG device. 

    set advanced-firewall bypass-stateful-firewall-config add source_network 10.10.10.0 source_netmask 255.255.255.0 dest_network 192.168.50.0 dest_netmask 255.255.255.0

    and add other remaining networks using the same command.

    In case you wish to revert the connection entry , if it does not work.

    set advanced-firewall bypass-stateful-firewall-config del source_network 10.10.10.0 source_netmask 255.255.255.0 dest_network 192.168.50.0 dest_netmask 255.255.255.0

    Then Verify:

    View the Bypass Stateful Firewall configuration by executing the following command: show advanced-firewall

    Kindly let us know how it goes. Thanks for your time and patience and thank you for choosing Sophos

    Cheers,

    Raphael Alganes
    Community Support Engineer | Sophos Technical Support
    Sophos Support Videos Product Documentation  |  @SophosSupport  | Sign up for SMS Alerts
    If a post solves your question use the 'Verify Answer' link.

  • This worked flawlessly. Thank you so much.

  • Hello,

    You're welcome. Thanks for your time and patience and thank you for choosing Sophos

    Cheers,

    Raphael Alganes
    Community Support Engineer | Sophos Technical Support
    Sophos Support Videos Product Documentation  |  @SophosSupport  | Sign up for SMS Alerts
    If a post solves your question use the 'Verify Answer' link.