This can be easily done by using https://github.com/ooni/netx.
This can be easily done by using https://github.com/ooni/netx.