Re: Traffic shaping and tun devices

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux