We need to link the world.
- You need to buy an abroad VPS.
- A domain
- Modify Your DNS AAAA record to point the VPS's IP address.
- Checking your fire wall. allow 80 and 443 ports.
Step.1 We need to install docker engine.
curl -fsSL https://get.docker.com | sh -
Step.2 Install Docker-ce
curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Step.3 Downloading Configuation
wget https://hello-world.marchocode.life -O docker-compose.yaml
cat > .env <<EOF
HOST=xx.example.com
PASSWORD=password
[email protected]
EOF
Step.4 Running
docker-compose run -d
Maybe you can choose your favorite client.
Protocol: Trojan
Host: Your domain address.
Password: Your customer password.
Port: 443
TLS: Yes
Transport: TCP