summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2021-06-29 22:43:52 +0200
committerHugo Hörnquist <hugo@hornquist.se>2021-06-29 22:43:52 +0200
commit2a079dc90f6e67e2124ea8dada3fcd4c5d539da7 (patch)
tree9f194ed534bff63d99baf7d7fd8d440d9461bb05 /files
downloadprofiles-2a079dc90f6e67e2124ea8dada3fcd4c5d539da7.tar.gz
profiles-2a079dc90f6e67e2124ea8dada3fcd4c5d539da7.tar.xz
Firewall.
Diffstat (limited to 'files')
-rw-r--r--files/firewall/rules.v415
1 files changed, 15 insertions, 0 deletions
diff --git a/files/firewall/rules.v4 b/files/firewall/rules.v4
new file mode 100644
index 0000000..bdc63cc
--- /dev/null
+++ b/files/firewall/rules.v4
@@ -0,0 +1,15 @@
+# Generated by iptables-save v1.8.4 on Thu Jun 3 20:27:52 2021
+*filter
+:INPUT DROP [120:97784]
+:FORWARD ACCEPT [0:0]
+:OUTPUT ACCEPT [526:114637]
+-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
+-A INPUT -p udp -m udp --dport 67:68 -j ACCEPT
+-A INPUT -p icmp -j ACCEPT
+-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
+-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
+-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
+-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
+-A INPUT -p udp -m udp --dport 53 -j ACCEPT
+COMMIT
+# Completed on Thu Jun 3 20:27:52 2021