StarDot Knowledge Base

Can I block inbound traffic to my camera or server?

Article ID: 123
Last updated: 11 Jun, 2020

All of our products are running an embedded version of Linux (uClinux) that has a lot of common shell features available. IPs and ports can be firewalled on our products using ipfwadm.  This is considered advanced and you should have Linux CLI experience. This is a non-supported feature.

Block port 80

ipfwadm -I -a reject -P tcp -D 0.0.0.0/0 80

Block Telnet

ipfwadm -I -a reject -P tcp -D 0.0.0.0/0 23

Block everything by IP

ipfwadm -I -a reject -S 192.168.2.249

After you have tested your rules and they are working, you'll need to add the line(s) to the end of the /etc/config/start file, save the file and then permanently save the changes to flash memory by typing:

config save

If you've blocked yourself and are no longer able to telnet/browse to the device, you will have to connnect using the serial cable to reset the camera (config clear) or change your firewall rules.  Use ipfwadm -h for help.

How do I connect to my StarDot device using HyperTerminal?

Article ID: 123
Last updated: 11 Jun, 2020
Revision: 1
Access: Public
Comments: 0