OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Traffic Shaper Rules interface assignment
« previous next »
  • Print
Pages: [1]

Author Topic: Traffic Shaper Rules interface assignment  (Read 4596 times)

tomstephens89

  • Newbie
  • *
  • Posts: 40
  • Karma: 2
    • View Profile
Traffic Shaper Rules interface assignment
« on: July 18, 2019, 02:13:24 pm »
Hi all,

Been testing out the traffic shaper in order to reserve some WAN bandwidth for a VLAN that homes our VOIP phones...

In the guide here https://docs.opnsense.org/manual/how-tos/shaper.html

You will see both inbound and outbound rules specify the WAN interface. Now in the example, rules are being applied based on the IP of the external VOIP server. However I am applying based on the internal subnet.

Logic would suggest my inbound rule applies to the WAN interface, traffic destination set to my internal voice subnet. Outbound would then be applied to the LAN interface, with the traffic source set to the internal voice subnet.

The above configuration works, however I can assign both rules to the WAN interface and it still works.

My assumption would be that the shaper applies after NAT is performed and therefore even though my inbound rule is on the WAN interface, it can see the destination is an RFC1918 internal address.

So to confirm, all inbound/outbound traffic shapers for WAN bandwidth, should be applied to the WAN interface under the rules tab?

Cheers
Tom
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Traffic Shaper Rules interface assignment
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2