erebe/wstunnel

OpenVPN issue when push "redirect-gateway def1 bypass-dhcp"

Open

#492 aperta il 4 mar 2026

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Haskell (196 fork)batch import
help wanted

Metriche repository

Star
 (1803 star)
Metriche merge PR
 (Merge medio 9g 2h) (6 PR mergiate in 30 g)

Descrizione

Describe the goal

I've been able to use redirect-gateway and iptables masquerade rules and port 1194 and it's working. However I need to tunnel. Not behind a proxy and it's all tcp openvpn

Describe what does not work

When wstunnel is running, It connects to vpn yes and even creates tun0 on client but I cannot receive internet or ping 10.8.0.1

Describe your wstunnel setup

  • client wstunnel client -L tcp://127.0.0.1:1194:127.0.0.1:1194 --log-lvl=DEBUG wss://server_hostname.net

client openvpn remote is remote 127.0.0.1 1194

  • server /wstunnel server --tls-certificate fullchain.pem --tls-private-key privkey.pem --restrict-to 127.0.0.1:1194 --log-lvl=DEBUG wss://0.0.0.0:443

Desktop (please complete the following information):

  • OS: server is debian 13, client is arch

Guida contributor