VLESSwebsocket / tls
A lightweight URI for UUID-based access over a TLS WebSocket.
sudo ./vpn-setup.sh xray --uri 'vless://UUID@HOST:443?type=ws&security=tls&path=/ws&sni=HOST#name'
A small guide for a quieter network
Two clean paths to a local proxy: a plain SSH tunnel or an Xray client fed by a VLESS or Trojan URI.
01 / setup command
sudo ./vpn-setup.sh ssh --host your.server.com --user youruser --key ~/.ssh/id_ed25519
02 / client commands
A lightweight URI for UUID-based access over a TLS WebSocket.
sudo ./vpn-setup.sh xray --uri 'vless://UUID@HOST:443?type=ws&security=tls&path=/ws&sni=HOST#name'
A password-based URI for the same secure WebSocket transport pattern.
sudo ./vpn-setup.sh xray --uri 'trojan://PASSWORD@HOST:PORT?type=ws&security=tls&path=/tr&sni=HOST#name'
03
Keep nearby
Inspect the current state or remove a setup cleanly. Keep these commands in your pocket.
See which local proxy is active and where it is listening.
./vpn-setup.sh statusStop and remove either client when you no longer need it.
sudo ./vpn-setup.sh remove sshsudo ./vpn-setup.sh remove xray