How to set up a VPN by yourself
Self-Hosted Shadowsocks VPN 1. Create VPS Use DigitalOcean , Vultr , or similar. Choose Ubuntu 24.04 LTS . Copy the server IP after creation. 2. SSH into Server ssh root@YOUR_SERVER_IP 3. Install Shadowsocks apt update apt install -y shadowsocks-libev Create config (replace YOUR_PASSWORD with your password). Port 2640 can be changed; if you change it, update the same port in step 5 (firewall) and step 6 (Clash): cat > /etc/shadowsocks-libev/config.json << 'EOF' { "server": "0.0.0.0", "server_port": 2640, "password": "YOUR_PASSWORD", "timeout": 300, "method": "aes-256-gcm" } EOF Start and enable on boot: systemctl enable shadowsocks-libev systemctl start shadowsocks-libev systemctl status shadowsocks-libev Verify it listens on 0.0.0.0:2640 (not 127.0.0.1). 4. Reload and Restart Service (Required Troubleshooting) Run ...