- Create an EC2 instance with Ubuntu 18.04 (I used t3.nano), and ssh into it
sudo apt-get update
sudo apt-get upgrade
- Install PiVPN with
curl -L https://install.pivpn.io | bash
- Follow the on screen instructions. Mostly use defaults but the protocol must be TCP, and I chose
1443
as my port - Install obfsproxy with
pip install obfsproxy
- Create a service file
/etc/systemd/system/obfsproxy.service
with contents
[Unit]
Description=Obfsproxy server