erebe/wstunnel

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

Open

#492 创建于 2026年3月4日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Haskell (1,803 star) (196 fork)batch import
help wanted

描述

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

贡献者指南