I can access almost everything from the outside.
The only thing i can not access is my ip-camera??
I narrowed it down to one rule that is causing the problem:
/ip firewall filter
add action=drop chain=forward comment=\ "Drop all other traffic through the router" \ disabled=no
If i enable this rule i cannot access the camera, if i disable this rule the camera can be viewed.
But then i get all sorts of other unwanted traffic. So i want that rule enabled.
I tried it with adding a nat rule (which is the “solution” you’ll find all over the internet):
The DST-NAT rule only changes the incoming packet. If you have a default drop in the forward you need a rule above it to allow that incoming request..
you’ll want something like:
/ip firewall filter
add chain=forward dst-address=192.168.0.5 protocol=tcp port=6080That will actually allow the request…
Basically look at the packet flow diagram… first the packet hits the nat chains and gets changed… then it hits the forward chain… so you need both the DSTNAT and the Accept if you want it to work…
EDIT: NOTE!!! the forward rule will have to match the packet AFTER the NAT… so noticed I used the internal ip and the forwarded port.
Just wonted to add, i was having problems port forwarding using NAT but this seemed to work for me.
Replace 192.168.1.8 with your internal IP cam and port 8081