Community discussions

MikroTik App
 
igpetkov
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Thu Oct 09, 2014 10:27 pm

Ext and Internal access

Mon Sep 12, 2016 11:33 am

Hi, All!

I have a problem with opening pc from my local network through real ip, with NAT.
I use 3CX PBX which is installed on my server Windows Server 2008, and have FQDN from noip.com "myname.noip.com" and configured src-nat and dst-nat on RB 750. When I try to access my server from outside there is no problem, everything works fine, but if I try access server from Local Lan (connected to eth2) with outside FQDN or External IP I receive "can't reach this page" or simmilar from diffrent browsers.
I make static DNS record in my RB, which forward to internal server IP, but is there other decision? And is this problem from my configuration or from ISP?

I have RB 750 with WAN on eth1 and LAN on eth2.

NAT configuration:

chain=srcnat action=src-nat to-addresses=84.xxx.xxx.xxx src-address=192.168.1.0/24
out-interface=ether1 log=no log-prefix=""

chain=dstnat action=dst-nat to-addresses=192.168.1.250 protocol=tcp
dst-address=84.xxx.xxx.xxx
dst-port=80,443,3389,5000,5001,5060,5061,5090,5223,5228-5230,2195,2196 log=no
log-prefix=""


I try to change ARP option on eth2 to arp-proxy, but nothing change.

Can someone help me? Thank You
 
Sob
Forum Guru
Forum Guru
Posts: 6517
Joined: Mon Apr 20, 2009 9:11 pm

Re: Ext and Internal access

Mon Sep 12, 2016 2:21 pm

You want thing called hairpin NAT.
Excessive quoting is useless and annoying. If you use it, please consider if you could do without it.
 
igpetkov
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Thu Oct 09, 2014 10:27 pm

Re: Ext and Internal access

Mon Sep 12, 2016 4:30 pm

Thank You, Sob!
It works great for me.

Who is online

Users browsing this forum: niyaza93, suleyman and 64 guests