]> git.proxmox.com Git - pve-firewall.git/blame_incremental - example/host.fw
remove unneccessary iptables code
[pve-firewall.git] / example / host.fw
... / ...
CommitLineData
1# /etc/pve/local/host.fw
2
3[OPTIONS]
4
5enable: 0
6tcp_flags_log_level: info
7smurf_log_level: nolog
8log_level_in: info
9log_level_out: info
10
11# default policy
12policy_in: DROP
13policy_out: ACCEPT
14
15# allow more connections (default is 65536)
16nf_conntrack_max: 196608
17
18# Enable firewall when bridges contains IP address.
19# The firewall is not fully functional in that case, so
20# you need to enable that explicitly
21allow_bridge_route: 1
22
23# disable SMURFS filter
24nosmurfs: 0
25
26# filter illegal combinations of TCP flags
27tcpflags: 1
28
29# rules processing speed optimizations
30optimize : 1
31
32[RULES]
33
34IN SSH(ACCEPT) net0
35OUT SSH(ACCEPT) net0