Skip to contentSkip to conversation

Lightweigh openvpn client for windows/linux?

Openvpn-devel Tomas Nouza 4 participants 4 messages Apr 6, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I am using OpenVpn i client/server mode and I have to say it's a great piece of software.

However, each client on lin/win has to be installed (under root privileges), which brings the limitation. The more insecure your connection is, the more a VPN solution is needed. When you want to connect securely from a library, school or other user-space only pc, you can't do it using OpenVpn, because you are not allowed to install any software.

So my question is, if there is a plan to develop a lightweigh client, that would not need a TUN/TAP interface. Now you can say it's not possible, but it is, with some limitations:
The client would support only tunneling, and it would listen on config/command-line specified tcp/udp ports on localhost, encrypt each packet and send it. Received and decrypted packets would of course appear on the localhost (loopback) interface. The usage would be similar to SSH port tunneling, while the openvpn lightweight client would support OpenVPN servers, and port ranges tunnelling.

Of couse that many options like 'ifconfig', 'push', ... would be ignored by the client, but I still see wide area of usage for this client - secure FTP, VNC, RemDektop, file sharing and more from public computers.

__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com

#1 lore raw
Quoted 4 lines · Tomas Nouza

So my question is, if there is a plan to develop a lightweigh client, that would not need a TUN/TAP interface. Now you can say it's not possible, but it is, with some limitations:

Quoted 8 lines

The client would support only tunneling, and it would listen on config/command-line specified tcp/udp ports on localhost, encrypt each packet and send it. Received and decrypted packets would of course appear on the localhost (loopback) interface. The usage would be similar to SSH port tunneling, while the openvpn lightweight client would support OpenVPN servers, and port ranges tunnelling.

What would you gain from making OpenVPN work this way, compared to using stunnel that was designed todo just this in the first place?

/Mathias

#2 lore raw
Quoted 15 lines · Mathias Sundman
Quoted 4 lines · Tomas Nouza

So my question is, if there is a plan to develop a lightweigh client, that would not need a TUN/TAP interface. Now you can say it's not possible, but it is, with some limitations:

Quoted 8 lines

The client would support only tunneling, and it would listen on config/command-line specified tcp/udp ports on localhost, encrypt each packet and send it. Received and decrypted packets would of course appear on the localhost (loopback) interface. The usage would be similar to SSH port tunneling, while the openvpn lightweight client would support OpenVPN servers, and port ranges tunnelling.

Quoted 3 lines

What would you gain from making OpenVPN work this way, compared to using stunnel that was designed todo just this in the first place?

IMHO UDP support. Of course if OpenSSL supported UDP....

Signature · 2 lines
Leonard Isham, CISSP 
Ostendo non ostento.
#3 lore raw
In reply to Tomas Nouza
Quoted 26 lines · Tomas Nouza

Hi,

I am using OpenVpn i client/server mode and I have to say it's a great piece of software.

However, each client on lin/win has to be installed (under root privileges), which brings the limitation. The more insecure your connection is, the more a VPN solution is needed. When you want to connect securely from a library, school or other user-space only pc, you can't do it using OpenVpn, because you are not allowed to install any software.

So my question is, if there is a plan to develop a lightweigh client, that would not need a TUN/TAP interface. Now you can say it's not possible, but it is, with some limitations:
The client would support only tunneling, and it would listen on config/command-line specified tcp/udp ports on localhost, encrypt each packet and send it. Received and decrypted packets would of course appear on the localhost (loopback) interface. The usage would be similar to SSH port tunneling, while the openvpn lightweight client would support OpenVPN servers, and port ranges tunnelling.

Quoted 4 lines

Of couse that many options like 'ifconfig', 'push', ... would be ignored by the client, but I still see wide area of usage for this client - secure FTP, VNC, RemDektop, file sharing and more from public computers.

Given that OpenVPN is doing real network extension via the TUN/TAP network driver, it's difficult to fit that model in with the limitations imposed by the sort of public machines you'd find at libraries, schools, etc.

Probably the best way to do something like this would be to implement the client side of the VPN as a java app which securely proxies the individual protocols. This gives you network security by application proxy rather than by network extension. This is the approach taken by the commercial "SSL VPN" vendors. It's not a VPN in the true sense of the term, but rather a browser-based application proxy.

I would be concerned about the security implications of running a VPN on a public machine. How could you be assured that the machine was spyware-free?

James