Set the bandwidth of standalone snowflake proxy

So If I set up a standalone snowflake proxy on a Raspberry Pi can I set limited bandwidth so I don’t give out too much of my bandwidth?

If so how do I do this and how much would you suggest?
I was gonna say 15-20Mb/s range preferably.

Also on the debian guide

:warning: Packages might be outdated and so this setup might not work. It is recommended to use another setup method, e.g. Docker.

If I add the Tor Debian repository will the snowflake-proxy package be up to date?

You can use tc-netem

… netem limit […] rate […]mbit

in combination with a Intermediate Functional Block (ifb) network interface on the host to limit a Docker container veth interface.

I do it to limit my proxy to 8 mbit/s inbound and outbound during the day, 16 at night.

It should be mentioned, I do not use ‘network_mode: host’, but the container uses its own bridge network.

Currently there is no way to limit bandwidth directly in Snowflake. But maybe there are third-party tools that can help.
Another option you have is to simply limit the amount of clients with the -capacity parameter.

I believe there is no Snowflake in the Tor repository, so no.

It won’t be. It will probably be 1.1.0-2. I went through that in August this year. Shame on them.

I did the GOlang method. The details are in that link. I installed the GO language and it has to be v 1.21 or newer. Don’t get it with Debian apt. It will be the wrong version… of course.

I compiled on one machine, tested, and just transported the snowflake directory to my target machine after it was compiled. Did not want the Go language and Git baggage on the target.

Not sure if you can control the bandwidth. It would all depend on what the clients do. You can’t but can control the number of users allowed with the -capacity parameter.

Maybe if you really get into iptables you may control bandwidth. Or maybe into QOS on the router. Do you really really want to get into that.

I saw a huge increase in my total GB usage on my ISP plan (unlimited)

Good Luck