• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to traffic shape an OpenVPN connection to an Asterisk server?

Scheduled Pinned Locked Moved Traffic Shaping
4 Posts 2 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    torontob
    last edited by Apr 19, 2011, 10:06 PM

    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

    1 Reply Last reply Reply Quote 0
    • D
      danswartz
      last edited by May 10, 2011, 8:38 PM

      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…

      1 Reply Last reply Reply Quote 0
      • T
        torontob
        last edited by May 31, 2011, 1:50 AM

        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

        1 Reply Last reply Reply Quote 0
        • D
          danswartz
          last edited by May 31, 2011, 1:53 AM

          I've not used that.  I just prioritize RTP traffic, so I have no info on your issue, sorry…

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received