]> git.proxmox.com Git - pve-firewall.git/blame - example/host.fw
add tunnable nf_conntrack_tcp_timeout_established value
[pve-firewall.git] / example / host.fw
CommitLineData
2d404ffc
DM
1# /etc/pve/local/host.fw
2
3[OPTIONS]
4
5enable: 0
6tcp_flags_log_level: info
7smurf_log_level: nolog
178a63be
DM
8log_level_in: info
9log_level_out: info
72f63fde
DM
10
11# default policy
12policy_in: DROP
13policy_out: ACCEPT
14
530c005e 15# allow more connections (default is 65536)
1ec3e3d0 16nf_conntrack_max: 196608
2d404ffc 17
28c082a1
AD
18# reduce conntrack established timeout (default is 432000 - 5days)
19nf_conntrack_tcp_timeout_established: 7875
20
530c005e
DM
21# Enable firewall when bridges contains IP address.
22# The firewall is not fully functional in that case, so
23# you need to enable that explicitly
24allow_bridge_route: 1
92e976b3 25
4ac863a6
DM
26# disable SMURFS filter
27nosmurfs: 0
28
11f12eae
DM
29# filter illegal combinations of TCP flags
30tcpflags: 1
31
cc10e5d7
AD
32# rules processing speed optimizations
33optimize : 1
34
92e976b3
DM
35[RULES]
36
37IN SSH(ACCEPT) net0
38OUT SSH(ACCEPT) net0