erebe/wstunnel

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

Open

#492 geöffnet am 4. März 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (196 Forks)batch import
help wanted

Repository-Metriken

Stars
 (1.803 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 2h) (6 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide