Skelet Posted October 19, 2004 Report Posted October 19, 2004 У меня следующая проблема: есть рутер (radhat 9 shrike) на котором висит Kerio mailserver. Рутинг производится следующей командой: #!/bin/sh modprobe -k iptable_filter iptable_nat 1>/dev/null 2>/dev/null if [ -z "$1" ] || [ -z "$2" ]; then exit 1 fi if [ -z "`ifconfig $1`" ]; then echo "error net1" exit 0 fi if [ -z "`ifconfig $2`" ]; then echo "error net2" exit 0 fi iptables --flush iptables --table nat --flush iptables --delete-chain iptables --table nat --delete-chain iptables --table nat --append POSTROUTING --out-interface $1 -j MASQUERADE iptables --append FORWARD --in-interface $2 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward После 2-3 часов скорость падает до 1kb/s, и через какоето время востонавлевается. В чем может быть проблема? Мтожет кто знает???? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.