248:feaf2a7bd655
Anton Shestakov <av6@dwimlabs.net>, Sat, 26 Nov 2022 02:41:55 +0400
.vimrc: one day vimscript will let us have spaces around operators everywhere Today we prepare for that day, for it will come. I might've looked at https://favadi.com/update-your-vimrc-to-vim9-script/

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