erebe / wstunnel

Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
BSD 3-Clause "New" or "Revised" License
4.34k stars 372 forks source link

Under openwrt program do not run in background without nohup. #328

Closed baiomys closed 3 months ago

baiomys commented 3 months ago

Not working:

/usr/bin/wstunnel client -L 'socks5://0.0.0.0:3228' -L 'udp://52820:localhost:52820?timeout_sec=0' \
 --connection-min-idle 5 --tls-sni-override vk.com --http-headers 'Host: vk.com' \
--http-upgrade-path-prefix 'somepath' --log-lvl OFF \
wss://someserver:443  2>/dev/null &

Seem to work:

/usr/bin/nohup /usr/bin/wstunnel client -L 'socks5://0.0.0.0:3228' -L 'udp://52820:localhost:52820?timeout_sec=0' \
 --connection-min-idle 5 --tls-sni-override vk.com --http-headers 'Host: vk.com' \
--http-upgrade-path-prefix 'somepath' --log-lvl OFF \
wss://someserver:443 &
github-actions[bot] commented 3 months ago

Hello @baiomys :wave:

This issue is being automatically closed because it does not follow the issue template.