Hi, its my first time posting in here.. So nice to meet you all…
First, i had 2 ISP,
in ether1 : internet access for local host / only for downloading, browsing and other thing via this ether (192.168.1.2/24)
In ether2 : static ip public for local server to access from internet (103.210.xxx.xxx/30)
In ether3 : local server that i want to go public (172.25.5.5/24)
In ether4 : hotspot for local host to access internet and local server (172.23.0.0/19)
For now, i had my hotspot (ether4) can access internet via ether1 and can access local server in ether2. I had hairpin rules on mangle to access from hotspot. And so i had dns static to let server can be opened with their respective server name www.domain1.com, subdomain.domain1.com
But I had a problem when i want to let my local server can be accessed from public (ether2), i had dst-nat from dst-address : 103.210.xxx.xxx go straight to the server with action dst-nat to-address : 172.25.5.5/24, and src-nat with src-address 172.25.5.5 with action masquerade
Its always give me no connection error.
And after some time i tried to search for answers in internet and found making some route and mangle rules that whenever request come from ether2-Public always give feedback to ether2-Public too, but i don’t understand how to make it works, last time, i can open winbox from internet via ip address, but cant access domain from the server.
So my question is how can i let my local server can access from outside and let it be accessed from local host in the same time?
Sorry if my post there so many bad grammar, but i tried my best on writing this, thanks before…