Hello, I’ve just set up an vyos firewall, and it works handsomely , except for the qos part
I have a 20Mb/2Mb Internet connection.
I have a server (192.168.4.70) connecting to Usenet.
I’d like the server to use all bandwidth available if I’m not browsing, watching Youtube videos, etc. on my laptop, cell phone, etc.
I’m running the August 1st build of vyos (lithium).
eth0 is the wan interface (dhcp from my provider)
These are the only rules I’ve set
set traffic-policy shaper EGRESS_QOS bandwidth '1800kbit'
set traffic-policy shaper EGRESS_QOS class 100 bandwidth '35%'
set traffic-policy shaper EGRESS_QOS class 100 burst '2kb'
set traffic-policy shaper EGRESS_QOS class 100 ceiling '100%'
set traffic-policy shaper EGRESS_QOS class 100 description 'usenet'
set traffic-policy shaper EGRESS_QOS class 100 match FROM_SERVER ip source address '192.168.4.70/24'
set traffic-policy shaper EGRESS_QOS class 100 match HTTPS ip destination port '443'
set traffic-policy shaper EGRESS_QOS class 100 match NNTP ip destination port '119'
set traffic-policy shaper EGRESS_QOS class 100 match NNTPS ip destination port '563'
set traffic-policy shaper EGRESS_QOS class 100 queue-type 'fq-codel'
set traffic-policy shaper EGRESS_QOS default bandwidth '65%'
set traffic-policy shaper EGRESS_QOS default burst '2kb'
set traffic-policy shaper EGRESS_QOS default ceiling '100%'
set traffic-policy shaper EGRESS_QOS default queue-type 'fq-codel'
set interfaces ethernet eth0 traffic-policy out 'EGRESS_QOS'
What’s happening right now is that browsing is slow as molasses on any machine, the server is running mostly at full speed.
this is the output of “/sbin/tc -s qdisc show dev eth0”
qdisc htb 1: root refcnt 2 r2q 10 default 65 direct_packets_stat 0 direct_qlen 1000
Sent 60143477 bytes 789423 pkt (dropped 0, overlimits 52 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 800a: parent 1:65 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms
Sent 1104794 bytes 10249 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1514 drop_overlimit 0 new_flow_count 4447 ecn_mark 0
new_flows_len 0 old_flows_len 4
qdisc fq_codel 800b: parent 1:64 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms
Sent 59038683 bytes 779174 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1514 drop_overlimit 0 new_flow_count 35745 ecn_mark 0
new_flows_len 0 old_flows_len 1
Any help will be greatly appreciated