Community discussions

 
dymassedhayu
just joined
Topic Author
Posts: 1
Joined: Sat Aug 31, 2013 6:07 am

Route ISP ip access to webserver on Local Network

Sat Aug 31, 2013 6:51 am

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 )
 
kraker
Frequent Visitor
Frequent Visitor
Posts: 88
Joined: Thu Aug 02, 2012 9:34 am

Re: Route ISP ip access to webserver on Local Network

Mon Sep 02, 2013 2:29 pm

use dstnat on office mikrotik nat.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4637
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Route ISP ip access to webserver on Local Network

Mon Sep 02, 2013 3:43 pm

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.

Who is online

Users browsing this forum: No registered users and 51 guests