All of lore.kernel.org
 help / color / mirror / Atom feed
From: ronald.phannee@planet.nl
To: lartc@vger.kernel.org
Subject: [LARTC] prioritizing INCOMING traffic
Date: Sun, 20 Jan 2002 15:09:28 +0000	[thread overview]
Message-ID: <marc-lartc-101153942328316@msgid-missing> (raw)

Hi All,

I am using iptables mangle table to set the TOS bit of several kinds of
traffic in order to give for instance ssh priority above bulk or normal
traffic.

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

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.

Best regards,

--
Ronald Verlaan
http://80.60.86.86
ronald.phannee@planet.nl
--------------------------------------------------------------------------
Mickey Mouse wears a Spiro Agnew watch.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

             reply	other threads:[~2002-01-20 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-20 15:09 ronald.phannee [this message]
2002-01-20 15:15 ` [LARTC] prioritizing INCOMING traffic Martin Devera
2002-01-20 15:31 ` ronald.phannee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101153942328316@msgid-missing \
    --to=ronald.phannee@planet.nl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.