Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

Sophos XGS: DNAT Through Routed VPN

Hello everyone,

I am attempting to redirect all requests made to 192.168.10.5 to 172.16.10.5. The VPN is working properly on both sides.

Sophos XGS: DNAT Through Routed VPN

Details:

#VPN Working 100%
LOCAL-LAN: 192.168.10.0/24 (Sophos)
REMOTE-LAN: 172.16.10.0/24 (pfSense)

#Servers
Old Server: 192.168.10.5
New Server: 172.16.10.5

I've set up a DNAT rule as follows:

Source: 192.168.10.0/24
Original Destination: 192.168.10.5
Translated Source: Original
Translated Destination: 172.16.10.5

I've also tried adding a DNAT rule via the console, both independently and in conjunction with the above rule, but with no success:

set advanced-firewall sys-traffic-nat add destination 172.16.10.5 snatip 192.168.10.5



Added TAGs
[edited by: Raphael Alganes at 3:47 PM (GMT -8) on 13 Nov 2024]
Parents
  • I remember doing it in pfSense once, but I didn't imagine it would be so hard in Sophos XGs.

    Firmware - SFOS 20.0.2 MR-2-Build378

    FMXio said:

    Hello everyone,

    I am attempting to redirect all requests made to 192.168.10.5 to 172.16.10.5. The VPN is working properly on both sides.

    Sophos XGS: DNAT Through Routed VPN

    Details:

    #VPN Working 100%
    LOCAL-LAN: 192.168.10.0/24 (Sophos)
    REMOTE-LAN: 172.16.10.0/24 (pfSense)

    #Servers
    Old Server: 192.168.10.5
    New Server: 172.16.10.5

    I've set up a DNAT rule as follows:

    Source: 192.168.10.0/24
    Original Destination: 192.168.10.5
    Translated Source: Original
    Translated Destination: 172.16.10.5

    I've also tried adding a DNAT rule via the console, both independently and in conjunction with the above rule, but with no success:

    set advanced-firewall sys-traffic-nat add destination 172.16.10.5 snatip 192.168.10.5

Reply
  • I remember doing it in pfSense once, but I didn't imagine it would be so hard in Sophos XGs.

    Firmware - SFOS 20.0.2 MR-2-Build378

    FMXio said:

    Hello everyone,

    I am attempting to redirect all requests made to 192.168.10.5 to 172.16.10.5. The VPN is working properly on both sides.

    Sophos XGS: DNAT Through Routed VPN

    Details:

    #VPN Working 100%
    LOCAL-LAN: 192.168.10.0/24 (Sophos)
    REMOTE-LAN: 172.16.10.0/24 (pfSense)

    #Servers
    Old Server: 192.168.10.5
    New Server: 172.16.10.5

    I've set up a DNAT rule as follows:

    Source: 192.168.10.0/24
    Original Destination: 192.168.10.5
    Translated Source: Original
    Translated Destination: 172.16.10.5

    I've also tried adding a DNAT rule via the console, both independently and in conjunction with the above rule, but with no success:

    set advanced-firewall sys-traffic-nat add destination 172.16.10.5 snatip 192.168.10.5

Children
No Data