7c3344dba339514c023c3b13c592e9ce9ca1ff55
[openwrt/openwrt.git] / package / base-files / files / etc / sysctl.d / 10-default.conf
1 # Do not edit, changes to this file will be lost on upgrades
2 # /etc/sysctl.conf can be used to customize sysctl settings
3
4 kernel.panic=3
5 kernel.core_pattern=/tmp/%e.%t.%p.%s.core
6 fs.suid_dumpable=2
7
8 net.ipv4.conf.default.arp_ignore=1
9 net.ipv4.conf.all.arp_ignore=1
10 net.ipv4.ip_forward=1
11 net.ipv4.icmp_echo_ignore_broadcasts=1
12 net.ipv4.icmp_ignore_bogus_error_responses=1
13 net.ipv4.igmp_max_memberships=100
14 net.ipv4.tcp_fin_timeout=30
15 net.ipv4.tcp_keepalive_time=120
16 net.ipv4.tcp_syncookies=1
17 net.ipv4.tcp_timestamps=1
18 net.ipv4.tcp_sack=1
19 net.ipv4.tcp_dsack=1
20
21 net.ipv6.conf.default.forwarding=1
22 net.ipv6.conf.all.forwarding=1
23
24 net.netfilter.nf_conntrack_acct=1
25 net.netfilter.nf_conntrack_checksum=0
26 net.netfilter.nf_conntrack_max=16384
27 net.netfilter.nf_conntrack_tcp_timeout_established=7440
28 net.netfilter.nf_conntrack_udp_timeout=60
29 net.netfilter.nf_conntrack_udp_timeout_stream=180
30
31 # disable bridge firewalling by default
32 net.bridge.bridge-nf-call-arptables=0
33 net.bridge.bridge-nf-call-ip6tables=0
34 net.bridge.bridge-nf-call-iptables=0