proxy over http[s], support http,socks5 proxy.
+------------+ +--------------+
| local app | <=======> |local proxy | <#######
+------------+ +--------------+ #
#
#
# http[s]
#
#
+-------------+ +--------------+ #
| target host | <=======> |http[s] server| <#####
+-------------+ +--------------+
Download the latest binaries from this release page.
./server -addr :8080 -secret <password> -logtostderr
./local -raddr http://example.com:8080 -secret <password> -logtostderr
It is strongly recommended to open the https option on the server side.
If you have a ssl certificate, It would be easy.
./server -addr :443 -secret <password> -https -cert /etc/cert.pem -key /etc/key.pem -logtostderr
./local -raddr https://example.com -secret <password> -logtostderr
Of Course, you can create a self-signed ssl certificate by openssl.
sh -c "$(curl https://raw.githubusercontent.com/ls0f/cracker/master/gen_key_cert.sh)"
./server -addr :443 -secret <password> -https -cert /etc/self-signed-cert.pem -key /etc/self-ca-key.pem -logtostderr -v=10
./local -raddr https://example.com -secret <password> -cert /etc/self-signed-cert.pem -logtostderr -v=10
If you don't want to run the server side, I did for you :) you only need to run the local side.
./local -raddr https://lit-citadel-13724.herokuapp.com -secret 123456 -logtostderr
Deploy the server side on heroku
Play with SwitchyOmega