Community discussions

MikroTik App
 
Kronyx
just joined
Topic Author
Posts: 19
Joined: Thu Apr 25, 2019 6:45 pm
Location: Sainte-Catherine, QC

Accessing DDNS address (WAN) from LAN

Fri May 03, 2019 10:59 pm

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 ?
 
cieplik206
Trainer
Trainer
Posts: 290
Joined: Sun Jul 01, 2007 12:25 am
Contact:

Re: Accessing DDNS address (WAN) from LAN

Sat May 04, 2019 12:49 am

Please explain what exactly are you trying to do
 
Kronyx
just joined
Topic Author
Posts: 19
Joined: Thu Apr 25, 2019 6:45 pm
Location: Sainte-Catherine, QC

Re: Accessing DDNS address (WAN) from LAN

Sat May 04, 2019 3:01 am

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 !
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Accessing DDNS address (WAN) from LAN  [SOLVED]

Sat May 04, 2019 3:22 am

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

Example in another thread
 
Kronyx
just joined
Topic Author
Posts: 19
Joined: Thu Apr 25, 2019 6:45 pm
Location: Sainte-Catherine, QC

Re: Accessing DDNS address (WAN) from LAN

Sat May 04, 2019 6:05 am

It's easy, you need to start with correct dstnat rules (don't use popular in-interface=<WAN>) 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 !