Here is my setup. Search and file the same file name from SSH to the router, ex. WinSCP. Don't know why I can't post w. attachment?Trailblazer wrote: Thanks for your response. I use OpenDNS servers configured under 'Custom DNS Servers'. I don't know how to change dnsmasq. How?
Where is sysctl.conf and what should I set the conntrack timeout to?
- dnsmasq under /etc/init.d
- section
....
/usr/sbin/dnsmasq $args && {
rm -f /tmp/resolv.conf
[ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf
here> DNS_SERVERS="$DNS_SERVERS xx.xx.xx.xx"
here> DNS_SERVERS="$DNS_SERVERS xx.xx.xx.xx"
here> DNS_SERVERS="$DNS_SERVERS xx.xx.xx.xx"
# DNS_SERVERS="$DNS_SERVERS 127.0.0.1"
for DNS_SERVER in $DNS_SERVERS ; do
echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf
done
Similar for S60dnsmas.q under /etc/rc.d
- sysctl.conf under /etc
kernel.panic=3
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0
net.core.netdev_max_backlog=30
net.netfilter.nf_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_udp_timeout=60
# net.ipv6.conf.all.forwarding=1
# 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
net.ipv4.tcp_tw_reuse=1
net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent=30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv=30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait=30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait=30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_close=10
net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait=30
net.ipv4.netfilter.ip_conntrack_tcp_timeout_last_ack=30
net.ipv4.ip_conntrack_max=8192
net.ipv4.netfilter.ip_conntrack_max=8192
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=600
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180