All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Traffic shaping and tun devices
@ 2004-10-13 12:53 Remus
  2004-10-13 13:27 ` Rio Martin.
  0 siblings, 1 reply; 2+ messages in thread
From: Remus @ 2004-10-13 12:53 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1422 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Traffic shaping and tun devices
  2004-10-13 12:53 [LARTC] Traffic shaping and tun devices Remus
@ 2004-10-13 13:27 ` Rio Martin.
  0 siblings, 0 replies; 2+ messages in thread
From: Rio Martin. @ 2004-10-13 13:27 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-13 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-13 12:53 [LARTC] Traffic shaping and tun devices Remus
2004-10-13 13:27 ` Rio Martin.

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.