Skip to content

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

@Denzy7

Description

@Denzy7

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions