- Bandwidth: 280 Mbit/s- queue: 2 (I found this was the best value so far after playing around with it)- Scheduler type: FlowQueue-CoDel- Enable (FQ-)CoDel ECN- FQ-CoDel Quantum: 1000- FQ-CoDel Limit: 1000- description: I called mine "Download pipe"
- Bandwidth: 11 Mbit/s- Scheduler type: FlowQueue-CoDel- Enable (FQ-)CoDel ECN- description: I called mine "Upload pipe"
- Pipe: Download pipe- Weight: 100- Enable (FQ-)CoDel ECN
- Pipe: Upload pipe- Weight: 100- Enable (FQ-)CoDel ECN
- Interface should be the WAN interface- Target: download queue- Protocol: ip- Destination: The LAN network address. If you use an address of 192.168.1.x with a 255.255.255.0 subnet, the value will most likely be "192.168.1.0/24"
- Interface should be the WAN interface- Target: upload queue- Protocol: ip- Source: The LAN network address. If you use an address of 192.168.1.x, the value will most likely be "192.168.1.0/24"
Limiters:10000: 280.000 Mbit/s 0 ms burst 0 q75536 50 sl. 0 flows (1 buckets) sched 10000 weight 0 lmax 0 pri 0 droptail sched 75536 type FIFO flags 0x0 0 buckets 0 active10001: 11.000 Mbit/s 0 ms burst 0 q75537 50 sl. 0 flows (1 buckets) sched 10001 weight 0 lmax 0 pri 0 droptail sched 75537 type FIFO flags 0x0 0 buckets 0 activeQueues:q10000 50 sl. 0 flows (1 buckets) sched 10001 weight 100 lmax 0 pri 0 droptailq10001 50 sl. 0 flows (1 buckets) sched 10000 weight 100 lmax 0 pri 0 droptail
ipfw sched show
10000: 280.000 Mbit/s 0 ms burst 0q10000 50 sl. 0 flows (1 buckets) sched 10001 weight 100 lmax 0 pri 0 droptail sched 10000 type FQ_CODEL flags 0x0 0 buckets 1 active FQ_CODEL target 5ms interval 100ms quantum 1000 limit 1000 flows 1024 ECN Children flowsets: 10001BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 ip 0.0.0.0/0 0.0.0.0/0 1 83 0 0 010001: 11.000 Mbit/s 0 ms burst 0q10001 50 sl. 0 flows (1 buckets) sched 10000 weight 100 lmax 0 pri 0 droptail sched 10001 type FQ_CODEL flags 0x0 0 buckets 0 active FQ_CODEL target 5ms interval 100ms quantum 1514 limit 600 flows 1024 ECN Children flowsets: 10000
you can simplify the rules. Instead of using ip subnetworks, just select direction: in for download queue and direction: out for upload queue.
I would like to add up, that if you use IPv6 destination/source rules won't match an IPv4-rule, you would better be off setting both rules for up/down to any/any and setting only the direction correct in the rule. This way it controls the full WAN-line.
Hi. I assume that I am missing some of the basics, but what about passing part of the traffic through VPN? I have some wireguard interfaces that grab traffic for some of the nodes, and they have their own gateways. Now, physically that all goes to the same WAN, upon firewall rules with gateway specified. So, I have:* WAN1 with shaper rules, gets some traffic.* WAN_covert_hole87 on Wireguard (physically same WAN1 link), gets some traffic.Does WAN_covert_hole87 need a separate pair of rules, or shaper applies to anything that goes to the physical interface, no matter virtual gateway ceremonies?