• 0 Posts
  • 14 Comments
Joined 2 years ago
cake
Cake day: September 5th, 2023

help-circle



  • Never point your DNS at two different IP addresses like this. It will only cause you pain and unexpected behaviour.

    What you are experiencing is solved by so-called “NAT reflection” or “NAT loopback”. It’s a setting that - in the optimal case - you should just be able to activate on the appropriate interface on your gateway.

    If you do not have that setting or do not have access to the edge router, but only some intermediate router, you can do a nasty hack. You can point static routes to your public IP address to point at your local IP address instead. In that case, you also need to tell your server to accept packets with your public IP address as the destination.