summaryrefslogtreecommitdiff
path: root/data/templates/conntrack/sysctl.conf.j2
blob: 554512f4d10d2dfcfaa79d36e4ff0297b9bbbe74 (plain)
1
2
3
4
5
6
7
8
9
# Autogenerated by system_conntrack.py
{# all values have defaults - thus no checking required #}

net.netfilter.nf_conntrack_expect_max = {{ expect_table_size }}
net.netfilter.nf_conntrack_max = {{ table_size }}
net.ipv4.tcp_max_syn_backlog = {{ tcp.half_open_connections }}
net.netfilter.nf_conntrack_tcp_loose = {{ '1' if tcp.loose is vyos_defined('enable') else '0' }}
net.netfilter.nf_conntrack_tcp_max_retrans = {{ tcp.max_retrans }}
net.netfilter.nf_conntrack_acct = {{ '1' if flow_accounting is vyos_defined else '0' }}