Accessing DDNS address (WAN) from LAN

Hi !

My i have configured DDNS for my wan ip, the problem is i can’t access the ddns from internal machines, is there a way to access it ?

Please explain what exactly are you trying to do

I have some things that are accessible from outside with my ddns (xxx.blah.com) but when i’m home on my wifi i can’t connect to it because the router block it, so i have to manually configure the application to point to the internal address, i have read somthing about the hairpin nat but i have no clue howe to do it.

Thanks !

It’s easy, you need to start with correct dstnat rules (don’t use popular in-interface=) and then add one srcnat rule.

Example in another thread

I got it working with this rule:

;;; Hairpin
chain=srcnat action=masquerade src-address=192.168.88.0/24 dst-address=192.168.88.0/24 log=no log-prefix=“”

Thanks !