Any other pfsense users out there? How do you traffic shape your rclone traffic?
My setup is I use rclone to stream from gdrive and to backup files off my local server. I want to be able to prioritise my rclone traffic but I can't figure out how to include it in my traffic shaping rules.
At the moment I'm just using simple PRIQ shaping and assigning traffic to queues.
I don't have access to an external IP address. I have been considering seeing if I can run rclone in a docker so I can assign an internal IP address to it to shape
you can setup your computer with another local ip address on the network card and use this flag --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name
and have your router prioritize that local ip address
In my opinion the most important thing for a home connection is not to fill up your upload and download 100%.
If you do you'll be creating queues in the ISP's router and your router which will kill interactivity and blocks ACKs for downloads and generally kills connectivity.
I do this by capping the upload and download at 90% (say) of their maximum rate, and I also prioritise small packets to keep the ACKs flowing through the local queues and to keep interactive sessions low latency.
I tune it by running a big upload and a big download together and use ping to find the rates where the latency drops back to normal even though you are filling the pipe in both directions.
I imagine you can do exactly the same things with pfsense
Not sure you need to assign it per se. It depends on what is causing you problems. You can prioritize Google API traffic if you want to go that route.
I do it a little different as I downgrade traffic that would have a chance to fill up my upload so torrents all get downgraded.
That leaves the rest of my pipe for everything else and it's shaped as well. I've never had issues with my traffic but my setup has evolved over time and is very specific for my environment.
I use OPNSense over PFSense as that gives me a bit more out of the box in terms of shaping I can use FQ-Codel which works better for my use case.
It also depends on what bandwidth you are working with too. If your upload is too low, it's hard to shape it. I have gigabit FIOS so it's much easier to create buckets for the traffic.
Thank you @asdffdsa and @seuffert - I didn't realise (although it's obvious now) now that you can create virtual IP addresses.
A quick google and I learnt about ifconfig (I use unRAID but I'm not technical at all) and I created a new IP, bound one of my mounts to it and now I can see the traffic separated out using --bind.
I'm going to create a few more IPs so I can shape my streams, backups and uploads differently.
Update on shaping: working perfectly so far. I've bound my mounts to a high-priority IP and my uploads to a low priority IP, even lower than torrents etc as there's no rush to upload them and over the course of a day my transfer is high enough