Simple Proxy Server Guide
- Setup & Compile First, make sure you have OpenSSL and Tor installed. Then, compile the code in your terminal:
g++ proxy.cpp -o proxy -lssl -lcrypto -lpthread
- Certificate Create a private certificate for a secure connection using OpenSSL. Just use dummy data when prompted.
openssl req -x509 -newkey rsa:4096 -keyout private_key.pem -out certificate.pem -sha256 -days 365 -nodes
-
Run & Configure Browser Run the program (./proxy). If successful, set your browser's HTTPS proxy to localhost:8443.
-
Verification Open any HTTPS site. Ignore the security warning. If you see logs in your terminal, your program works!