Skip to content

Instantly share code, notes, and snippets.

@wen-long
Last active October 5, 2016 17:55
Show Gist options
  • Save wen-long/b9b95f3026aa908da2bdd8d2399f23f6 to your computer and use it in GitHub Desktop.
Save wen-long/b9b95f3026aa908da2bdd8d2399f23f6 to your computer and use it in GitHub Desktop.
openssl genrsa -out key.pem 2048
openssl req -new -x509 -key key.pem -out cert.pem -days 1095
cat key.pem cert.pem > stunnel_wenlong.oyeddns.com.pem
cp stunnel.conf stunnel_wenlong.oyeddns.com.conf
nano stunnel_wenlong.oyeddns.com.conf
sudo killall stunnel4
sudo stunnel4 stunnel_wenlong.oyeddns.com.conf
sudo proxychains4 /usr/sbin/squid -N
sslocal -s cn3t.hxg.cc -p 20831 -m rc4-md5 -k8I2oml5a8M -t 3600
sudo tail -f stunnel.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment