For VPN
wstunnel -v --udp --udpTimeoutSec -1 -L 0.0.0.0:51820:127.0.0.1:51820 --upgradePathPrefix wstunnel ws://"IP"
For SOCKS5
wstunnel -v -D 0.0.0.0:8888 --upgradePathPrefix wstunnel ws://"IP"
Host Header & SNI
--hostHeader www.google.com
--tlsSNI www.google.com
ws & wss with header/sni
wstunnel -v --udp --udpTimeoutSec -1 -L 0.0.0.0:51820:127.0.0.1:51820 --hostHeader www.google.com --upgradePathPrefix wstunnel ws://"IP"
wstunnel -v --udp --udpTimeoutSec -1 -L 0.0.0.0:51820:127.0.0.1:51820 --tlsSNI www.google.com --hostHeader www.google.com --upgradePathPrefix wstunnel wss://"IP"