OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Dual WAN + Traffic Shaping
« previous next »
  • Print
Pages: [1]

Author Topic: Dual WAN + Traffic Shaping  (Read 13086 times)

snakeaj

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Dual WAN + Traffic Shaping
« on: December 24, 2016, 01:27:59 pm »
Hello!

I wan to use Dual WAN (DSL + 4G) and limit bandtwith for each user to 4 Mbit down and 1 Mbit up.

My Problem: in traffic Shaping i can only use an INTERFACE (wan1 or wan2) and not my WAN GROUP.

one more thing i noticed: i can not find "Sticky Connection" which i want to set (Multi WAN howto)

thx
alexander

OPNsense 16.7.11_1-amd64
FreeBSD 10.3-RELEASE-p14
OpenSSL 1.0.2j 26 Sep 2016
Logged

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #1 on: December 25, 2016, 09:51:17 am »
Hello Alexander,

I still have the issue. You can check this out https://forum.opnsense.org/index.php?topic=3856.msg13582#msg13582. My issue was same on similar setup.
Logged
-RackG

HFsi

  • Newbie
  • *
  • Posts: 36
  • Karma: 3
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #2 on: September 19, 2017, 11:55:17 pm »
It seems that the issue will see another christmas...I´m stuck with the same problem...
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6332
  • Karma: 435
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #3 on: September 20, 2017, 06:14:27 am »
I haven't tested it yet but I'd create two pipes, each for 1 WAN, 2 queues for each WAN pointing to their pipes and then create rules pointing to the queues in advanced mode with both interfaces (IN+OUT)
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #4 on: September 20, 2017, 07:49:20 am »
Quote from: HFsi on September 19, 2017, 11:55:17 pm
It seems that the issue will see another christmas...I´m stuck with the same problem...

It is unclear what the "same" issue could be. There is a lot of time between Christmas 2016 and 2017. ;)


Cheers,
Franco
Logged

HFsi

  • Newbie
  • *
  • Posts: 36
  • Karma: 3
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #5 on: September 22, 2017, 04:25:45 pm »
Hi Franco!
The "same issue" would be that in traffic Shaping I can only use an INTERFACE (wan1 or wan2) and not my WAN GROUP.
So if one WAN goes down the shaping stops working, wright?

And I want to take the opportunity to thank you people for integrating ClamAV as a plugin!
« Last Edit: September 22, 2017, 04:31:27 pm by HFsi »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6332
  • Karma: 435
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #6 on: September 22, 2017, 05:48:04 pm »
It doesnt make sense to use a Wan group as bandwith amd latency differ for most connections. Just create multiple pipes and rules.
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Dual WAN + Traffic Shaping
« Reply #7 on: September 22, 2017, 07:31:15 pm »
Hi there,

GW Groups are abstractions of one underlying firewall in FreeBSD: pf

Traffic shaping works using another firewall in FreeBSD better suited for the task: ipfw

Both only share the knowledge of individual interfaces unless LAGG is used. What is the downside of managing both interfaces independently in traffic shaping? They only apply in a physical scope with its own boundaries like Michael said.

If there is trouble with multi-wan shaping not working in general, make sure you have shared forwarding turned on (Firewall: Settings: Advanced).


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Dual WAN + Traffic Shaping
 

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