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

How do you create a loopback/hairpin NAT to an Interface IP?

I am trying to publish multiple services to the Internet.  It is working fine using business rules.  But, I want to be able to add a loopback/hairpin NAT so that if someone inside the network uses the public IP to access the service they are redirected to the internal network.  I would also like this bound to an interface IP and not an IP object because it will not always be a static IP.



This thread was automatically locked due to age.
Parents
  • It is technially possible using Linux Kernel but it may be restricted by Sophos engineers for security reasons. I was unable to use NAT this way but it is possible to make a loop connection to a Web server published by XG. However it is not a NAT of course, but Reverse Web Proxy.

    For other services I have created internal DNS records pointing to the right servers inside LAN. I used built-in DNS service but you can also use another DNS service running on one of those servers and create a fake zone.

    This is not a solution but a workaround.

    Regards,
    Slawek

Reply
  • It is technially possible using Linux Kernel but it may be restricted by Sophos engineers for security reasons. I was unable to use NAT this way but it is possible to make a loop connection to a Web server published by XG. However it is not a NAT of course, but Reverse Web Proxy.

    For other services I have created internal DNS records pointing to the right servers inside LAN. I used built-in DNS service but you can also use another DNS service running on one of those servers and create a fake zone.

    This is not a solution but a workaround.

    Regards,
    Slawek

Children
No Data