What is a firewall?
A firewall controls network traffic by allowing or blocking connections according to rules, such as source, destination, port and protocol. Every cellular router includes one.
Every industrial router has a firewall, and in my experience most of them are left exactly as shipped. That default is usually “allow everything out, block unsolicited traffic in”, which is a fair start but rarely the end of the job.
How a firewall works
A stateful firewall tracks connections, so replies to traffic a device started are let back in automatically, while new inbound connections are checked against rules. Rules typically act on interfaces or zones (LAN, WAN, VPN), addresses, ports and protocols.
More advanced OT firewalls add deep packet inspection, which understands protocols such as Modbus or DNP3 and can, for example, allow reads but block writes.
Why a firewall matters for IoT and OT security
The firewall is what stops a public IP router’s admin page, or a forwarded PLC port, being reachable from the internet. It also limits what a compromised device can reach.
Outbound rules matter too. Restricting where OT devices can connect makes it much harder for malware to call home or for data to leak.
What to check
- Block router management (web, SSH, SNMP) on the WAN.
- Remove any port forwards you cannot justify.
- Restrict outbound traffic to the servers each site needs.
- Separate VPN, LAN and guest traffic into different zones.
Related terms
- Port forwarding
- Zones and conduits
- VPN (virtual private network)
- Public IP SIM
- Default credentials
- Zero trust and ZTNA
A firewall sits in the Device hardening section of the OT Security hub, which follows the OT chain from sensor to shutdown. Browse every term in the IoTPortal glossary.
Firewall FAQ
Does a 4G router need a firewall?
Yes. Every cellular router has one; the important thing is configuring it, especially on public IP SIMs.
What is a stateful firewall?
One that tracks connections so replies are allowed automatically while new inbound connections are checked against rules.
Should I filter outbound traffic from OT devices?
Yes. Limiting outbound destinations stops many types of malware calling home.
Part of the IoTPortal glossary, written by Peter Green and reviewed December 2026. Definitions focus on how each term applies to cellular IoT and OT in the field.
Get the IoTPortal weekly brief
UK IoT news, router and SIM guides and OT security alerts, written by people who deploy this kit. One email a week, free, and you can unsubscribe at any time.
Nearly done. Check your inbox and click the confirmation link to start receiving emails.
No spam. We use MailerLite to send it. Choose topics and frequency.



