Hello, i need some support from a good expert, thanks
I have set up a hotspot in a public place and I need to install a camera there for protection.
is there a way I can use static IP to access the camera from outside without any user for hotspot thanks to pointing me in the right direction.
my ip-pool is 10.5.50.20----10.5.51.254
I plan to put a camera 10.5.51.11
First you need to do a binding of the MAC-IP of the camera.
/ip hotspot ip-binding
add address=10.5.51.11 mac-address=XX:XX:XX:XX:XX:XX type=bypassed (change XX:XX:XX:XX:XX:XX to the MAC address of your camera).
This allows the camera to bypass the hotspot.
next do a destination nat rule in firewall-nat
/ip firewall nat
add action=dst-nat chain=dstnat comment=“camera” dst-port=XXX in-interface=YYY protocol=ZZZ to-addresses=10.5.51.11 to-ports=QQQ
XXX = port (udp or tcp) that will be visible from the outside (not a good idea that it is a known port, use something else ex. 9950)
YYY = the interface that is connected to the internet
ZZZ = this is usualy UDP or TCP (may be something els but probably not)
QQQ = this is the port that the camera is expecting to be connected (probably 8080, 80, 443 or 8000)
so from the outside you would connect to the public ip of your MT plus the port sommething like http://1.2.3.4:9950.
This will redirect to your camera and change the port to the correct port..
Good luck