278:42549c249804
Anton Shestakov <av6@dwimlabs.net>, Sat, 13 Jul 2024 01:25:17 +0400
.hgrc: histedit.later-commits-first=true results in an easier-to-parse output Make sure you use hg 6.7.4 or later (see 6ec4c745c598 for details).

previous change 184:5e3ee9d17ca9

fj/template.net

Permissions: -rw-r--r--

Other formats: Feeds:
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
#allow all loopback traffic
-A INPUT -i lo -j ACCEPT
# no incoming connections
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# allow ping etc.
-A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT
-A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
# allow incoming ping
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
-A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
# allow outgoing DNS
-A OUTPUT -p udp --dport 53 -j ACCEPT
-A INPUT -p udp --sport 53 -j ACCEPT
COMMIT