Example 2 – prioritizing EchoLink

We can also create rules for applications not covered by pfSense's traffic shaper wizard. For example, we may want to create a rule to prioritize traffic from EchoLink, a VoIP application that allows radio amateurs to communicate with each other.

EchoLink uses ports 5198 to 6000, and uses UDP on ports 5198 and 5199, and TCP on port 6000. As a result, we will have to create two rules for EchoLink, but the process is still fairly simple:

  1. From the Floating tab on the Rules page, click on one of the Add buttons at the bottom of the page.
  2. In the Action drop-down box, select Match.
  3. In the Interface listbox, select WAN.
  4. Leave Direction set to any, so that the rule will be a bidirectional rule.
  5. Change Protocol to UDP.
  6. Set Destination port range to 5198 to 5199. You may also enter a brief description (for example, Prioritize EchoLink UDP rule).
  7. Click on the Show Advanced button and scroll down to Ackqueue/Queue.
  8. Set Queue to qOthersHigh.
  9. Click on the Save button. This will take you back to the main Floating rules page.
  10. To save time, we'll copy this rule and make a rule for port 6000. Click on the Copy icon on the newly created rule to make a new rule based on this rule.
  11. In the new rule, change Protocol to TCP.
  12. Change Destination port range to 6000. You may also enter a brief description (for example, Prioritize EchoLink TCP rule).
  13. Click on the Save button. On the Floating rules page, click on the Apply Changes button.

You'll probably want to check the firewall rules to make sure no existing rules conflict with the newly created ones. But as this example demonstrates, generating your own rules without the wizards is not necessarily difficult.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset