Last active
April 27, 2023 18:01
-
-
Save ignasio/4ac4ba97f7d4f6e60d89dcc2a1a4120c to your computer and use it in GitHub Desktop.
https proxy one-liner
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
## old fashined option number one | |
#turkey vm | |
apt-get install socat | |
socat TCP-LISTEN:8080,fork,reuseaddr TCP:twitter.com:443 | |
#russian vm | |
echo "turkey_vm_ip twitter.com" >> /etc/hosts | |
curl -D - https://twitter.com:8080 | |
## option number two | |
mitmproxy bla bla | |
## modern option 3: production ready https reverse proxy caddy | |
caddy reverse-proxy --from :8080 --to twitter.com:443 | |
## imho best tool for everything like that — tailscale |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment