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

SFOS v18.0.379 - Hairpin Nat / Loopback rule can't get to work

Good day guys

i have a Sophos Firewall XG 310, i upgraded form version 17.5 MR9 to  version 18.0.379 due to security vulnerability..
in my time with version v17.5 i have no problem regarding all my config.. i have 2 DNAT rules 1 rule is for incoming WAN interface which doesn't have any masq, the other on above it is from incoming LAN interface which i put a masq..

there rules are for accessing public ip of the the hosted internal server..

bbackground: we do have blocks of public ip that that is natted on different local ip of servers

problem: in version 18.0.379 i've made 2 firewall rules, 1 is for LAN to public ip of out internal server..

SOURCE ZONE: any ,

SOURCE NETWORKS: the local subnet

DESTINATION ZONE: my local zone made

DESTINATION NETWORKS: the public ip of the server

then i made a DNAT which is working in when outside the network connecting to our server public ip,here is another DNAT for the internal trying to connect to out server public ip in the same network

Original source: the local network subnet
Translated source (SNAT) : MASQ

Original destination: the public ip of the server
 Translated destination (DNAT): Local ip of the server
 
 
 
 
 
 
 


This thread was automatically locked due to age.
Parents Reply
  • if you only have 1 public ip which is the current ip address used by the WAN that is working using the assistant, but if you have a subnet of public ip and the DNATted public ip is not the ip of of your wan interface then this is our current problem..

     

    i've read everything that concerns hairpin nat and i know how to use it since i have this working on version 17.5 sfos.. i also have other fortigates that can do this, only in version 18.0+ i have encountered this, and i've already triend every single bit of combination of firewall rules, nat rules and routing rules.. but no avail..

    i manage to have 3 hops to get but

    1 hop is the local gateway

    2 hops are the public ip

    then everything stops here by the reply of network

Children