diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2021-06-29 22:43:52 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2021-06-29 22:43:52 +0200 |
commit | 916b1f0f97288db063cc8cec23a54d4253940d0d (patch) | |
tree | 8c4fcfcc2841b982d4fb65d218642a30084b51f2 /modules/profiles/files | |
parent | Blog working. (diff) | |
download | webdav_server-916b1f0f97288db063cc8cec23a54d4253940d0d.tar.gz webdav_server-916b1f0f97288db063cc8cec23a54d4253940d0d.tar.xz |
Firewall.
Diffstat (limited to 'modules/profiles/files')
-rw-r--r-- | modules/profiles/files/firewall/rules.v4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/profiles/files/firewall/rules.v4 b/modules/profiles/files/firewall/rules.v4 new file mode 100644 index 0000000..bdc63cc --- /dev/null +++ b/modules/profiles/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 |