Go forward proxy with rate limiting. The code is based on Michał Łowicki's 100 LOC forward proxy.
Releases can be downloaded from here.
go get -v github.com/jamesmoriarty/goforward
go install github.com/jamesmoriarty/goforward
goforward
goforward -h
Usage of goforward:
-port string
Proxy listen port (default "8888")g
-rate int
Proxy bandwidth ratelimit (default 524288)
use with .exe
on windows.
go build .\cmd\goforward.go
go test
I needed a way to download 53GB without making my household internet unusable. In summary:
Shape the traffic in the application.
Shape the traffic in kernal space.
Shape the traffic in user space.