]> git.proxmox.com Git - pve-firewall.git/blobdiff - example/host.fw
fix README
[pve-firewall.git] / example / host.fw
index 663d2d7f05b5d0506cfaa449a3036fd5b078b565..a8ae5682cbdade55714ccd360f3821447655170e 100644 (file)
@@ -8,13 +8,12 @@ smurf_log_level: nolog
 log_level_in: info
 log_level_out: info
 
-# 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
@@ -26,6 +25,9 @@ nosmurfs: 0
 # filter illegal combinations of TCP flags
 tcpflags: 1
 
+# rules processing speed optimizations 
+optimize : 1
+
 [RULES]
 
 IN  SSH(ACCEPT) net0