OpenVPN userspace with tunsocks (without TUN devices)
reddit.com·8h·
Discuss: r/linux
Flag this post

I want to connect to an OpenVPN server, from a Linux client where I don’t have root access and cannot (and want not) create a TUN device. I don’t really need the TUN device: I just want to connect to a SSH server within the VPN.

This is possible. But it needs a patched openvpn. Specifically bendlas/openvpn-tuna or ValdikSS/openvpn-tunpipe. That adds the possibility to use --dev "|<pipetool>" for openvpn. So instead of using a TUN device, it would run some command and pipe all the data to it. Then, there is russdill/tunsocks which you can use as the program here. For example, tunsocks -L [bind_address:]bind_port:host_address:host_port.

It took…

Similar Posts

Loading similar posts...