Hi Michael,
On 06/05/19 15:18, mich...@fritscher.net wrote:
Hello,
is there a way to use OpenVPN without a TUN/TAP device? E.g. by having
a SOCKS server, accept & forward connections to localhost - or even
plain stdin/out?
For the first one I've seen
https://community.openvpn.net/openvpn/ticket/577 .
This would be very nice because this way, OpenVPN could be used
without admin privileges and in some scenarious where a virtual
network device isn't desired.
As a very crude workaround I'm using qemu with its SLIRP network in
usermode, which is slow with Windows as host, even with haxm or MS
Hyper-V Plattform (aka WHPX).
this question has been asked before. The short answer is: no, this is
not possible
The longer answer is: no, this is actually very hard and you would
never be able to get functionality working without a tun/tap device
The more elaborate answer is: I am not sure what would be feasible
without a tun/tap device, and esp wihtout admin privileges - openvpn is
about routing network traffic and for that you almost always should (and
will) need some form of admin privileges.
What *could* work is the same kind of stuff that works over a SOCKS
proxy - but then why bother with OpenVPN, as a lot of software can be
made to use SOCKS. What is *very* hard to get right is UDP traffic -
look for a working UDP-over-SOCKS implementation to see why.
HTH,
JJK
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users