I am trying to run the Standalone Snowflake Proxy on an Ubuntu VPS using Docker. The container starts fine using this:
sudo docker run thetorproject/snowflake-proxy:latest
But now the container log says NAT type: restricted
.
In this post I read that by “if I forward all udp packets for the whole ephemeral range (default is 32768 to 60999 for most Linux boxes) on the router, NAT type becomes unrestricted”. This sounds similar to this line from the Snowflake proxy docker-compose.yml
:
#command: [ "-ephemeral-ports-range", "30000:60000" ]
Would this help in making the NAT unrestriced? How exactly would this be done using docker
? Is this somehow related to the firewall settings of the VPS?
Edit: After running the proxy container for ~15 minutes I see logs like this:
2023/01/11 20:47:39 Traffic throughput (up|down): 20 KB|9 KB -- (44 OnMessages, 31 Sends, over 26 seconds)
...
2023/01/11 20:51:01 Traffic throughput (up|down): 955 KB|102 KB -- (212 OnMessages, 1012 Sends, over 510 seconds)
Is this better than what I can contribute to the Tor network using the browser plugin?