All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rio Martin." <rio@martin.mu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Traffic shaping and tun devices
Date: Wed, 13 Oct 2004 13:27:01 +0000	[thread overview]
Message-ID: <200410132014.56327.rio@martin.mu> (raw)
In-Reply-To: <045101c4b123$b063f8d0$6e69690a@RIMAS>

On 13 October 2004 pm 12:53, Remus wrote:
> Hi folks,
> I have three network cards on my Slackware box and eth0 and eth1 are for
> two Internet connections. They have imq0 and imq1. All traffic shaping
> works fine.
> Internal eth2 does no traffic shaping.
> But recently I have put two OpenVPN tunnels (tun devices) and both work via
> eth0.
> So my question is - how to shape the traffic on these tun0 and tun1
> devices?
> Thanks
> Remus

Mark on mangle table and place them into IMQ

example:
iptables -t mangle -o tun0 bla bla bla -j IMQ --todev 0
iptables -t mangle -o tun1 bla bla bla -j IMQ --todev 1

- Rio.Martin -
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2004-10-13 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 12:53 [LARTC] Traffic shaping and tun devices Remus
2004-10-13 13:27 ` Rio Martin. [this message]

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=200410132014.56327.rio@martin.mu \
    --to=rio@martin.mu \
    --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.