What is difference if i have VPS with around 400MB RAM free and like half or less of the CPU core free?
I was running relay and it was pretty heavy on CPU, had to significantly decrease bandwidth limit.
But stopped, now i wish something more lightweight.
Which one is more needed to be ran to help Russian/Iranian/Chinese users?
I would do “rm /etc/apt/sources.list.d/docker.list” and then
Attempt to run Snowflake proxy on Linux. For Windows check official page.
NOTES: 1) commands are executed as a root ($ sudo su), 2) if you install in different path than /root/snowflake/proxy/proxy make sure to replace this path by yours 1+ times below.
cd;git clone https://git.torproject.org/pluggable-transports/snowflake.git
go build # go was not available, and installing package golang-go fixed it, on Deb/Ubuntu: apt install golang-go
crontab -l 2>/dev/null; echo "@reboot $(which nohup|head -n 1) /root/snowflake/proxy/proxy &" | crontab -
add new script: nano /etc/cron.hourly/snowflake
if [[ "$(ps auxf|grep -iE 'snowflake'|grep -Ev 'grep'|wc -l)" == "0" ]];then
$(which nohup|head -n 1) /root/snowflake/proxy/proxy &
chmod 755 /etc/cron.hourly/snowflake
and hopefully it will keep run on background & be working. How to verify that it is working?
I can run the proxy binary (…/…/snowflake/proxy/proxy) with parameters: “-log logfilename -verbose” and monitor the logfilename. I could see there was some connections. Frequent “Timed out waiting for client to open data channel.” was said to be normal behavior - not all times there is demand from outside.
After seeing article [tor-relays] Help Turkmens to bypass Internet censorship: run an obfs4 bridge! that says “different pluggable transports, like Snowflake, and entire IP ranges, have been blocked in the country” (Turkmenistan), they ask to setup OBFS4 bridge on home computer and one “won’t need a static IPv4”. Though setup guide Tor Project | Bridge requirement is “The ability to expose TCP ports to the Internet (make sure that NAT doesn’t get in the way)”. I can try to check if it will work for me forwarding on router or enabling DMZ.
Should i pause Snowflake on my home computer and run OBFS4 instead or should i permanently switch to OBFS4?
2023/04/16 In the last 24h0m0s, there were 30 connections. Traffic Relayed ↑ 155 MB, ↓ 11 MB.
2023/04/17 In the last 24h0m0s, there were 21 connections. Traffic Relayed ↑ 117 MB, ↓ 18 MB.
2023/04/18 In the last 24h0m0s, there were 26 connections. Traffic Relayed ↑ 674 MB, ↓ 123 MB.
2023/04/19 In the last 24h0m0s, there were 20 connections. Traffic Relayed ↑ 840 MB, ↓ 91 MB.
2023/04/20 In the last 24h0m0s, there were 17 connections. Traffic Relayed ↑ 34 MB, ↓ 6 MB.
(it is running from within restricted NAT LAN)