Hi, I’ve got one problem I’m not able to solve. We have got in our institution a mail server. The intranet address is 192.168.46.206 with port 8080 and when I put this url inside intranet it works. The distant address is 188.120.213.18 with port 48080. I was able to set the nat rule in mikrotik to forward to intranet address and it works well too. Theres is no problem when I’m outside our intranet. But the problem is when I’m inside intranet and put the url 188.120.213.18:48080 logically nothing happens. So I need this adress to work no matter if I am inside or outside intranet. Is there a way to set it in Mikrotik or do I have to set it another way? Thanks
Add to NAT accept rule from local network to public address before the rule you previously added.
Thanks for your reply but I’m not sure how to make all the settings in that rule. Could this be more specific? I know where to choose accept rule but I’m not sure with the rest. I mean what I have to set in General section: if there is dst-nat or src-nat if I have set something to src adress or dst adress etc… Thanx
Assuming that your local network is 192.168.46.0/24
/ip firewall nat add chain=dst-nat src-address=192.168.46.0/24 dst-address=188.120.213.18 action=accept place-before=0