]> git.proxmox.com Git - pve-firewall.git/blobdiff - example/host.fw
add tunnable nf_conntrack_tcp_timeout_established value
[pve-firewall.git] / example / host.fw
index 11cd44f2b4a9dc7ec9809883f413f66a00d794aa..1bf6d86578ab2dc5a6eeecaeb8190e3393d7fdd3 100644 (file)
@@ -5,5 +5,34 @@
 enable: 0
 tcp_flags_log_level: info
 smurf_log_level: nolog
+log_level_in: info
+log_level_out: info
 
-# TODO
\ No newline at end of file
+# default policy
+policy_in: DROP
+policy_out: ACCEPT
+
+# allow more connections (default is 65536)
+nf_conntrack_max: 196608
+
+# reduce conntrack established timeout (default is 432000 - 5days)
+nf_conntrack_tcp_timeout_established: 7875
+
+# Enable firewall when bridges contains IP address.
+# The firewall is not fully functional in that case, so
+# you need to enable that explicitly
+allow_bridge_route: 1
+
+# disable SMURFS filter
+nosmurfs: 0
+
+# filter illegal combinations of TCP flags
+tcpflags: 1
+
+# rules processing speed optimizations 
+optimize : 1
+
+[RULES]
+
+IN  SSH(ACCEPT) net0
+OUT SSH(ACCEPT) net0