Mike wrote:
> I have a box in the lan that sends packets through open vpn.
> openvpn is running on the shorewall boxes on both endpoints.
> The traffic is being classified, but clipping is occuring.
> Does traffic have to be classifed on the openvpn interface as well?
You must define shaping on the openvpn interface if you want to prioritize
the traffic going through that interface. And you probably also want to give
the open VPN traffic itself (usually UDP 1194) a boost on the external
interface.
We're in a similar situation but with richer set of data which includes
video etc. First, it seems that OpenVPN is in a better position to "do the
right thing" given you've already paid the price for getting packets from
the kernel into user space. Perhaps OpenVPN doesn't support QoS (yet) so
the approach Tom suggests might be the only one available.... and is gonna
give better performance... of course, most of us are limited by our uplink
speeds so cpu typically isn't the real bottleneck.
A finer grained approach is to try something with the ToS... apparently (and
I'm just getting to this part of our buildout) OpenVPN will preserve ToS
settings with the "passtos" directive.... then, you should be able to use
Shorewall to use or set ToS... on the pre-tun0 side, set it if its not
right, and post vpn (port 1194) stream use it again to shape within the
broader set of rules for your "real "interface".
somewhere in here the discussion of OpenVPN's use of UDP / TCP to carry both
types of traffic will come up and I think things could get complicated...
-glenn
Thank you Glenn,
Do you have any examples that you would mind sharing. I have spent a lot
of time reading again on
shaping. Sometime just get stumped at the starting gate. Also on this setup
should have a full t-1
soon, as the current bandwidth is 768 12 channels. This box has two ISP's
but using the T-1 for
VOIP.
I would be glad to share any think I have with you if that would help.
Thanks
Mike
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users