From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Devera Date: Sun, 20 Jan 2002 15:15:33 +0000 Subject: Re: [LARTC] prioritizing INCOMING traffic Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > For using ssh sessions from my linux box to a machine on the internet I use: > iptables -t mangle -A PREROUTING -i ppp0 -p tcp --sport ssh -j TOS --set-tos Minimize-Delay > iptables -t mangle -A OUTPUT -o ppp0 -p tcp --dport ssh -j TOS --set-tos Minimize-Delay but this itself will not priorize anything .. depends on routers outside > Now my question is if the opposite rules do make sense also? > iptables -t mangle -A PREROUTING -i ppp0 -p tcp --dport ssh -j TOS --set-tos Minimize-Delay > iptables -t mangle -A OUTPUT -o ppp0 -p tcp --sport ssh -j TOS --set-tos Minimize-Delay > My intention is to give priority to incoming (from internet to my linux > box) ssh sessions also. It is nonsence .. Once packet is in your box all QoS decisions was already made. devik _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/