Last active
October 5, 2016 17:55
-
-
Save wen-long/b9b95f3026aa908da2bdd8d2399f23f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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