Firewall Rules - Emerson PACSystems RXi Panel PC User Manual

Industrial displays
Table of Contents

Advertisement

PACSystems™ RXi Industrial Displays User Manual
GFK-3138E
4.4.1

Firewall Rules

# Flush all existing rules
Iptables
# Set 'close all ports' chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP
# apt-get to resolve (53) and initiate connections (80, 443) to fetch updates from repo
iptables -A INPUT -p udp --sport 53 -j ACCEPT
iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
iptables -A INPUT -p tcp --sport 80 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --sport 443 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
# Accept all incoming SSH
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 22 -j ACCEPT
# Accept incoming PING
iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
# Accept out PING
iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT
RXi – Panel PC Overview
Section 4
Nov 2022
-F
94

Advertisement

Table of Contents
loading

Table of Contents