[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200807120424.56462.denys@visp.net.lb>
Date: Sat, 12 Jul 2008 04:24:56 +0300
From: Denys Fedoryshchenko <denys@...p.net.lb>
To: netdev@...r.kernel.org
Cc: netfilter-devel@...r.kernel.org
Subject: REDIRECT in nat OUTPUT
I notice TX performance issues while using REDIRECT rule in -t nat -I OUTPUT chain.
To reproduce:
First let's test network and HDD speed
homecore ~ # scp PSA_schematique_07H.iso root@....0.0.1:/tmp
PSA_schematique_07H.iso 7% 335MB 25.7MB/s 02:39 ETA
^C
Killed by signal 2. (i kill it)
Second let's do the trick
iptables -t nat -I OUTPUT -p tcp --dport 23 -j REDIRECT --to-ports 22
scp -P 23 PSA_schematique_07H.iso root@...host:/tmp
PSA_schematique_07H.iso 0% 8728KB 121.3KB/s 10:22:05 ETA
^C
Killed by signal 2.
Always all rules with REDIRECT to local port is dropping speed around 100Kbyte/s. What can be the problem?
--
------
Technical Manager
Virtual ISP S.A.L.
Lebanon
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists