Drain TCP Connection Drainer This tool uses iptables to stop new connections on given TCP ports. Install $ go get github.com/shawnsi/drain Usage $ sudo drain -h How it Works This is the flow of drain start internals.