Page 1 of 1

Port forwarding in local network

Posted: Thu Jan 12, 2017 10:48 am
by nishadul
Hello,

I have port forwarding in my router for to see dvr video from outside of my network, it is working fine( from another ISP---->my router's public IP------> DVR. But when I try to see from my local network then it is not work as like local network pc -----------> router public IP-----------------> DVR, How to possible ?

I want PC-2 (same network PC-2 and DVR) will be connected with DVR using my router's public IP. pl see the attach picture.
network.pdf

Re: Port forwarding in local network

Posted: Thu Jan 12, 2017 11:01 am
by gustavomam
Hi.

By the configuration in the router firewall process it is not possible.

You could use dns rule (ip dns) like dvr.mysite.com pointing 192.168.1.10 and register the public IP with public adress, that's a easy way to solve it.

Re: Port forwarding in local network

Posted: Thu Jan 12, 2017 11:50 am
by nishadul
Hi.

By the configuration in the router firewall process it is not possible.

You could use dns rule (ip dns) like dvr.mysite.com pointing 192.168.1.10 and register the public IP with public adress, that's a easy way to solve it.
I am not understanding it, Pl give me details

Re: Port forwarding in local network

Posted: Thu Jan 12, 2017 12:06 pm
by gustavomam
Here it is a picture with an explication

Re: Port forwarding in local network

Posted: Thu Jan 12, 2017 12:18 pm
by nishadul
Here it is a picture with an explication
This system work for one dvr (because we have one public IP) but we have 7 dvr.
You means public DNS register, which we register from domain company.

Re: Port forwarding in local network

Posted: Thu Jan 12, 2017 12:59 pm
by Rudios
You have to make a Hairpin NAT Rule,
http://wiki.mikrotik.com/wiki/Hairpin_NAT

Re: Port forwarding in local network

Posted: Fri Jan 13, 2017 6:27 pm
by AlainCasault
Why are you using the public IP from pc2 since they are on the same network? Is there a reason??

Send from my mobile via Tapatalk. Sorry for the errors and briefness.

Re: Port forwarding in local network

Posted: Fri Jan 13, 2017 6:28 pm
by AlainCasault
Edit: ... for pc2...

Send from my mobile via Tapatalk. Sorry for the errors and briefness.

Re: Port forwarding in local network

Posted: Fri Jan 13, 2017 6:41 pm
by AlainCasault
Disregard my questions. Rudios' answer is the way to go. ;)

Send from my mobile via Tapatalk. Sorry for the errors and briefness.

Re: Port forwarding in local network

Posted: Sat Jan 14, 2017 6:46 am
by nishadul
Disregard my questions. Rudios' answer is the way to go. ;)

Send from my mobile via Tapatalk. Sorry for the errors and briefness.

Because PC-2 connect with our office wifi network (same network) This pc some time use same network and some times use other (3g) network (when out of office)
When PC-2 out of office, it use 3g internet connection, in this time if I check dvr video then i need to use public ip of my router and when this pc-2 come at office then use wifi internet connection (same network of dvr) and if i check dvr video in this time then I need to set private ip.

Re: Port forwarding in local network

Posted: Tue Jul 31, 2018 4:56 pm
by mrdipesh1
I have two different network:
WAN 1: Gateway 192.168.200.1, IP 192.168.200.2
LAN 2 : IP 192.168.10.0/24 (office network, and has server)
LAN 3: IP 192.168.20.0/24 (guest network)
There is no any bridge connection and I don't want computers of LAN 2 to be visible to LAN 3

Server IP 192.168.10.2 (connected on LAN 2)
User IP 192.168.20.2 (connected on LAN 3)

I can ping server from User pc and also I can access server files by \\192.168.10.2 but I cant access by \\ServerPcName
All I want is to access 192.168.10.2 from 192.168.20.2 only, not from all computers of LAN 3.

Re: Port forwarding in local network

Posted: Thu Aug 02, 2018 11:52 am
by mkx
Access to \\servername from different network requires some setup on the windows sharing level and doesn't have much to do with router's firewall. You'll have to learn about windows domans and how to span multiple broadcast domains.