How to traffic shape an OpenVPN connection to an Asterisk server?
-
Hi Everyone,
I have been using the wizard today and I can't see to figure this all out. What I want to do is give priority to VoIP and VoIP ONLY. Any other traffic can wait for ever. I need at least 320kbps up and down reserved for VoIP. If VoIP is not being used then of course the 240kbps can be used for other web surfing reasons or torrents.
However, that complexity is that I have the Alix board (pfSense 1.2.3) acting as a router to 4 SIP Phones. There is no Asterisk server on site. Asterisk server is in fact hosed and it connects to the pfSense router as a client by OpenVPN. So, all the IPs are able to connect to Asterisk server over the VPN tunnel.
When I go through the shaper wizard, am I to pick OpenVPN interface as in or out? or would it still be LAN/WAN.
I have tried simply LAN and wan and it doesn't seem to work as the Status > Traffic Graph shows I am uploading files with 700kbps (my max upload speed). So, that leaves nothing to the VoIP. How can this be fixed?
Thanks
-
I assume you meant the asterisk server was 'hosted' as opposed to 'hosed' (which is what you wrote LOL)? Anyway, not sure this will work easily. Question for you: does anything important go through the openvpn tunnel other than voip traffic? If not, you could shape the tunnel itself, since it is (by default) a single UDP port…
-
Thanks for the input.
Let's forget what I said about Asterisk. Let's say I want to LIMIT traffic to a single IP address to 300kbps up and 300kbps down. When I try to penalize an IP by traffic shaping this doesn't work. The IP is still able to go way above their overhead. Can you confirm this to work?
Thanks
-
I've not used that. I just prioritize RTP traffic, so I have no info on your issue, sorry…