mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-06 03:44:15 +00:00
![Rune K. Svendsen](/assets/img/avatar_default.png)
This commit adds a Linux script that uses tc and iptables to limit outgoing bandwidth to Bitcoin nodes. All tcp connections with a source or destination port of 8333 are limited to the chosen rate. It does not alter the incoming bandwidth. Additionally, outgoing bandwidth to a host on a local LAN (defined by the LOCALNET variable) is not limited.