Page 1 of 1

Route ISP ip access to webserver on Local Network

Posted: Sat Aug 31, 2013 6:51 am
by dymassedhayu
Maybe the subject is litle confusing :D
but this is my mean

I have ISP ip on my office 125.162.151.212
then i have a computer inside the local network on my office with ip 192.168.1.212, and on that computer i have a web server intalled, so if i access 192.168.1.212 from another computer on local network, i can see the web page on my computer.
(nb. the webserver using default port 80)

what i want is, if I access my office ISP ip address(125.162.151.212) from my house using browser through internet, i can see the webpage on my office computer on ip 192.168.1.212.

what must i do to can do these thing?
I using Mikrotik RB450G on my office.

(sorry about my bad english :-P )

Re: Route ISP ip access to webserver on Local Network

Posted: Mon Sep 02, 2013 2:29 pm
by kraker
use dstnat on office mikrotik nat.

Re: Route ISP ip access to webserver on Local Network

Posted: Mon Sep 02, 2013 3:43 pm
by SurferTim
In the event you do not know how to enter that dstnat...
/ip firewall nat
add chain=dstnat action=dst-nat dst-address=xxx.xxx.151.212 dst-port=80 to-addresses=192.168.1.212 to-ports=80 protocol=tcp
This is under the presumption your ISP is not blocking port 80 requests to your office public ip.

edit: I masked out the first two octets on your public ip in the event that is your public ip.