# Подение скорости интернета

**URL:** <https://linux.ru/forum/t/topic/292>\
**Category:** Общий форум\
**Created:** [19.Октябрь.2004 08:49:21 UTC](https://linux.ru/forum/t/topic/292 "2004-10-19T08:49:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skelet](https://linux.ru/forum/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Skelet](https://linux.ru/forum/u/Skelet)\
**Post date:** [19.Октябрь.2004 08:49:21 UTC](https://linux.ru/forum/t/topic/292/1 "2004-10-19T08:49:21Z")

</div>

У меня следующая проблема: есть рутер (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, и через какоето время востонавлевается. В чем может быть проблема? Мтожет кто знает???
