Jump to content

Hello guys,

Need a help.

I have cameras installed, I have access from WAN:port  to cameras and  LAN:port when I am on lan.

I want to access cameras from LAN but with WAN ip and port.

 

[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
 0    ;;; defconf: masquerade
      chain=srcnat action=masquerade out-interface-list=WAN ipsec-policy=out,none

 2    ;;; DAHUA
      chain=dstnat action=dst-nat to-addresses=192.168.100.222 to-ports=XXXX protocol=tcp in-interface=all-ethernet dst-port=XXXX log=no log-prefix=""

 3    ;;; PELCO
      chain=dstnat action=dst-nat to-addresses=192.168.100.223 to-ports=XXXX protocol=tcp in-interface=ether1 dst-port=XXXX log=no log-prefix=""
[admin@MikroTik] >

 

These both are cameras. Two different systems.

 

 

P.S.  I have done Hairpin NAT but it doesn't work. Mikrotik router

---___--- HP Probook 450 G0 ---___---

I5-3230M 2.60Ghz ( 4 CPUs ) ~ 2.6Ghz

8192Mb RAM

AMD Radeon HD 8600/8700M

120 GB SSD + 1TB HDD

Link to comment
https://linustechtips.com/topic/1069689-connect-to-cameras-from-lan/
Share on other sites

Link to post
Share on other sites

Question, your local IP is set as the same network?

Did you try Class B subnet mask config?

 

Do you receive any pings when pinging your cameras from your LAN?

Security Analyst & Tech Enthusiast

Ask me anything.

Link to post
Share on other sites

30 minutes ago, StareX said:

Question, your local IP is set as the same network?

Did you try Class B subnet mask config?

 

Do you receive any pings when pinging your cameras from your LAN?

Yes, I want to connect from 192.168.100.0/24 to 100.222 (NVR)

I m trying to connect via WAN IP of my office.

 

I can ping it in LAN

---___--- HP Probook 450 G0 ---___---

I5-3230M 2.60Ghz ( 4 CPUs ) ~ 2.6Ghz

8192Mb RAM

AMD Radeon HD 8600/8700M

120 GB SSD + 1TB HDD

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×