erebe/wstunnel

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

Open

#492 ouverte le 4 mars 2026

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Haskell (196 forks)batch import
help wanted

Métriques du dépôt

Stars
 (1 803 stars)
Métriques de merge PR
 (Merge moyen 9j 2h) (6 PRs mergées en 30 j)

Description

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

Guide contributeur