Hi guys, I need a little advice urgently, I have a web-server on my local network, now to make it accessible from outside I added this to the router :
/ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=80 in-interface=ether1-gateway protocol=tcp to-addresses=192.168.1.45 \ to-ports=80
/ip firewall filter
add action=accept chain=input disabled=no dst-port=80 protocol=tcp place-before=3
Now when I access the server from outside(another location external IP) , and use the menu’s on the website it works fine.
But the problem is when I access this web-server from inside the local network, like I’m on : 192.168.1.3 and web-server on 192.168.1.45 then I can access the web-server, but as soon I use menu’s I get 404 error, the problem is that the web-server software was configured wrongly, it’s menu is configured to my external IP (ISP given) so when I click on Home button it goes to my external IP and from there /home.html
This is a kind of looping, so instead of going outside the local network it should stay inside on 192… network, but because the web-server software is closed code, I’m not able to change the external IP in the settings now, so I need to make sure this looping works.
On my other simple routers, Draytek Vigor, and Lynksys it works fine, but on Mikrotik it blocks it, please help, how can I make sure that the router accepts the loop.
please anybody help asap.
thanks in advance.