2005-04-30 19:05:53 +08:00
|
|
|
kernel.panic=3
|
2006-07-17 17:29:25 +08:00
|
|
|
net.ipv4.conf.default.arp_ignore=1
|
|
|
|
net.ipv4.conf.all.arp_ignore=1
|
2005-04-30 19:05:53 +08:00
|
|
|
net.ipv4.ip_forward=1
|
|
|
|
net.ipv4.icmp_echo_ignore_broadcasts=1
|
|
|
|
net.ipv4.icmp_ignore_bogus_error_responses=1
|
2010-01-18 13:38:44 +08:00
|
|
|
net.ipv4.tcp_ecn=0
|
2005-04-30 19:05:53 +08:00
|
|
|
net.ipv4.tcp_fin_timeout=30
|
|
|
|
net.ipv4.tcp_keepalive_time=120
|
2006-07-17 17:29:25 +08:00
|
|
|
net.ipv4.tcp_syncookies=1
|
2012-06-28 06:32:44 +08:00
|
|
|
net.ipv4.tcp_timestamps=1
|
|
|
|
net.ipv4.tcp_sack=1
|
|
|
|
net.ipv4.tcp_dsack=1
|
2011-03-17 23:35:41 +08:00
|
|
|
|
2013-06-11 21:30:18 +08:00
|
|
|
net.ipv6.conf.default.forwarding=1
|
|
|
|
net.ipv6.conf.all.forwarding=1
|
2013-01-15 21:07:51 +08:00
|
|
|
|
2012-03-04 22:53:17 +08:00
|
|
|
net.netfilter.nf_conntrack_acct=1
|
2011-03-17 23:35:41 +08:00
|
|
|
net.netfilter.nf_conntrack_checksum=0
|
|
|
|
net.netfilter.nf_conntrack_max=16384
|
2014-07-13 18:24:34 +08:00
|
|
|
net.netfilter.nf_conntrack_tcp_timeout_established=7440
|
2011-03-17 23:35:41 +08:00
|
|
|
net.netfilter.nf_conntrack_udp_timeout=60
|
|
|
|
net.netfilter.nf_conntrack_udp_timeout_stream=180
|
|
|
|
|
2010-01-18 13:38:44 +08:00
|
|
|
# disable bridge firewalling by default
|
|
|
|
net.bridge.bridge-nf-call-arptables=0
|
|
|
|
net.bridge.bridge-nf-call-ip6tables=0
|
|
|
|
net.bridge.bridge-nf-call-iptables=0
|