- Create Instance
- Ubuntu 18, OS Only
- Manage -> Network
- Add Port 443 to firewall
- Add static ip
- Connect to console
- sudo adduser username
- sudo usermod -aG sudo username
- sudo vi /etc/ssh/sshd_config
- PasswordAuthentication yes
- sudo systemctl restart sshd.service
- Connect to your virtual machine
- sudo apt update
- sudo apt install npm -y
- create an A Record
- SSL Full Strict
- Origin Server Certficate
- Create certificate file
- Create private file
- Create proxy.js
- Create index.js
- https://github.com/CS3550/ReverseProxySSLStripping
- copy proxy.js
- copy index.js
-
cd example
-
npm init -y
-
npm i express http-proxy
-
which node
-
sudo setcap 'cap_net_bind_service=+ep' /usr/bin/node
-
tmux
- node proxy.js
-
tmux
- node index.js
Check in browser