Skip to content

Instantly share code, notes, and snippets.

*filter
:OUTPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:UDP - [0:0]
:INPUT DROP [0:0]
:TCP - [0:0]
:ICMP - [0:0]
# Acceptable TCP traffic
-A TCP -p tcp --dport 22 -j ACCEPT
-A TCP -p tcp --dport 10000 -j ACCEPT