Traffic shaping and tun devices
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
Quoted 11 lines · Remus
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/