SQM & WireGuard

Hi,

I’ve just bought the Flint 2 and I’m wanting to install SqM on it for low latency, I would of thought they would of had the SqM embedded by now as a default plugin as it’s a very popular package people use! However, I’m not wanting to move to OpenWRT has I’m more than happy with the default GUI I just need SqM, Is it safe to install SqM from the luci GUI?

Another problem I’m facing, I use WireGuard for my nvidia shield through the Router but I can’t play bbc iplayer or ITVX due to my VPN location is there away I can stop the VPN routing through this apps alone?

Thanks

For the SQM package you can install it via Luci (advanced settings link)
Search for "luci-app-sqm" and then when installed you can refresh Luci and you will get the SQM tab under > Network > SQM QoS - remember to configure it correctly. There's threads on here about the SQM.

As for the iPlayer. Yes you can policy route devices to use or not use the VPN. From the VPN Dashboard you can change the mode to policy based routing via device MAC to achieve this. Clicking the word "Global proxy" gives you the options to change the mode. Then you add the devices by clicking the link "define by MAC address"

I currently have mine setup to policy based via MAC address with the option for "Traffic from Following Device" set to "Use VPN" meaning all my devices go via normal ISP apart from a select few which I route via VPN.

Thank you for your reply, Regarding the SqM when I install the package will I need to confirm it via the Luca gui? Or the Gl-net GUI?

WireGuard, That’s what I’ve done just made sure my nvidia shield only device with the vpn but I can’t seem to allow iplayer and itvx to work when the vpn is on

I just install it via Luci gui. You will only be able to modify the settings via the Luci gui as they won't show inside the glinet frontend gui so you need to be in Luci anyway.

This could be because your VPN IP is listed outside the UK? (iPlayer and itvx are usually UK region locked) so make sure your VPN is connected to a UK server, or it could be that your VPN IP is blacklisted.

However, if you are located in the UK anyway then I would just bypass the VPN for the iPlayer and itvx as the only time you need a VPN for them is if you are hitting the services from a country other than the UK.

I thought I would have, It not a big issue, I’m not sure why the devs hasn’t embedded it into the Gl-firmware as of yet? It’s one of the most used packages OpenWRT has to offer and very popular, do you have indication why they haven’t?

Yes I’m in the UK and connected to Switzerland, how to I bypass the vpn so itvx and bbc iplayer work?

Thanks

Glinet have got some form of bandwidth control as you can set it per device in the GUI however I'm not sure what packages they use for that. Oh when you enabled the SQM be sure to turn off hardware acceleration inside the glinet frontend.

As for the VPN I believe you can do it via domain based policy routing instead. An easier approach would be to try and connect a UK based server instead of Switzerland. If your VPN doesn't log then shouldn't have anything to worry about when connect to a UK server.

In my setup I have a device set to VPN but I just remove the device from the list when I want to use services like you mentioned. Again, might not be ideal but you can just try a UK VPN to save the hassle. The likely reason you are not able to connect is because you are not connecting to a UK VPN server hence you are hitting a UK service from outside the UK (not allowed)

It might make more sense to install your dedicated VPN app on the shield. The reason I say this is because you can usually go to the app setting and do "split tunnel" which will allow you to selective route and bypass certain apps. To achieve this sort of filtering on the router level isn't always easy.

You only need to use SQM if you have significantly higher latency under load. Did you check that you are suffering from bufferbloat?

On our Flint 2 we practically don't have buffer bloat with the defaults (grade A on the Waveform bufferbloat test). Of course, it depends on your up/downstream and your internal network speed.

It's worth checking this first, because SQM requires disabling hardware acceleration. With the relatively weak CPU of the Flint 2, you will have (far) less throughput. Not really worth it if you don't suffer from latency issues anyway. Of course, if your internet speed is much lower than what the Flint 2's CPU can handle this may not be an issue.

Probably because it is incompatible with hardware acceleration?

Managed to install SQM, However there is an issue with the upload speed, every time the router is rebooted, SQM doesn’t shape the upload speed but does the download speed?

Any suggestions to tix this issue? I get A+ across the board now which is perfect, but I don’t want to be restarting the SQM every time after a reboot just want to setup and leave it.

I’ve disabled HW acceleration and the QoS what comes with the Gl-Firmware.

Thanks for the support so far I’m sure we will get there eventually

I have now fixed the issue regarding SQM on the other thread, The instructions isn’t clear and needs to be addressed for others to follow, or even better get it fixed for the next firmware rollout.