summaryrefslogtreecommitdiff
path: root/data/templates/conntrack/sysctl.conf.j2
blob: cd6c34edecaa818d3f7dad253f0dcb6b03adf097 (plain)
1
2
3
4
5
6
7
8
9
10
# 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' }}
net.netfilter.nf_conntrack_timestamp = {{ '1' if log.timestamp is vyos_defined else '0' }}