• 07/14/2017
  • Public Content

Firewall via iptables

The platform supports iptables firewall. This service is automatically started at boot time and loads a set of default rules from /usr/share/iptables-settings/iptables.rules
The rules can be changed and saved to the configuration file via the commands shown below:
Common Commands
To clear all existing rules:
iptables -F
To drop all incoming traffic:
iptables -P INPUT DROP.
To allow incoming SSH connection:
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
To save the current set of rules:
iptables-save > /usr/share/iptables-settings/iptables.rules.
Saved rules will autoload during next boot
To stop using iptables:
systemctl disable iptables

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.