]> git.proxmox.com Git - pve-firewall.git/blobdiff - example/host.fw
cleanup_fw_rule: only copy defined rule properties
[pve-firewall.git] / example / host.fw
index 5ecca3d330e3b4afde91ea8753e5b0b4b3107a1c..4d861078d8c6f8b2f6ddb69a668d7cae08a5226b 100644 (file)
@@ -7,8 +7,27 @@ tcp_flags_log_level: info
 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
 
+# 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]