Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VPN under WINE[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 359
Location: Tokyo, Japan

PostPosted: Sat Mar 15, 2014 10:57 am    Post subject: VPN under WINE[SOLVED] Reply with quote

Is it possible to run a VPN using wine?

I have found that many VPN services that do not provide OpenVPN config files to use under Linux so am trying to use one of them in wine. I was able to successfully install and launch a particular VPN service using wine, Surfeasy VPN, but it does not see a network connection even though other apps in wine do. Any ideas how to get it to see my wifi and eth0 connections? Also will my entire box run through the VPN or only apps running under wine?

Thanks


Last edited by Budoka on Mon Mar 17, 2014 4:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8927

PostPosted: Sat Mar 15, 2014 3:51 pm    Post subject: Reply with quote

I doubt this would work for the same reason that Wine cannot run most DRM-restricted games. VPNs need kernel level support for obtaining the outbound traffic. Some Linux VPNs, such as OpenVPN, use the generic Linux TUN/TAP driver to get the traffic instead of inventing their own interface, but that is still kernel support. You could probably run the Windows-based configuration GUI under Wine.
Back to top
View user's profile Send private message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 359
Location: Tokyo, Japan

PostPosted: Sun Mar 16, 2014 4:52 am    Post subject: Reply with quote

Hu wrote:
I doubt this would work for the same reason that Wine cannot run most DRM-restricted games. VPNs need kernel level support for obtaining the outbound traffic. Some Linux VPNs, such as OpenVPN, use the generic Linux TUN/TAP driver to get the traffic instead of inventing their own interface, but that is still kernel support. You could probably run the Windows-based configuration GUI under Wine.


Hu,

Thanks for the reply. I was following you right up until the point you said: "You could probably run the Windows-based configuration GUI under Wine."

Sorry if it wasn't clear in my initial post but that is what I did. The application runs no problem...it just doesn't see the network connection.

The first part of your reply left me thinking that it isn't possible but then the last part sounds like it is possible?

Thanks
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8927

PostPosted: Sun Mar 16, 2014 5:24 pm    Post subject: Reply with quote

A VPN can be logically divided into at least two parts. One part does the work of receiving the traffic from the OS, wrapping it in the VPN transport protocol, and sending the wrapped packets to the VPN server. The other part does the work of presenting a pretty GUI to the user to set any available knobs, report any summary data provided by the transport layer, etc. I mean that the second part should be a pretty simple Windows application that you could run under Wine. However, unless the configuration tool can read in saved configuration files, let you edit them, and write the modified versions out, running it is useless, because you cannot run the transport layer process under Wine. Without the transport layer process, you will not be able to send any traffic over the VPN.
Back to top
View user's profile Send private message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 359
Location: Tokyo, Japan

PostPosted: Mon Mar 17, 2014 4:51 am    Post subject: Reply with quote

Hu wrote:
A VPN can be logically divided into at least two parts. One part does the work of receiving the traffic from the OS, wrapping it in the VPN transport protocol, and sending the wrapped packets to the VPN server. The other part does the work of presenting a pretty GUI to the user to set any available knobs, report any summary data provided by the transport layer, etc. I mean that the second part should be a pretty simple Windows application that you could run under Wine. However, unless the configuration tool can read in saved configuration files, let you edit them, and write the modified versions out, running it is useless, because you cannot run the transport layer process under Wine. Without the transport layer process, you will not be able to send any traffic over the VPN.

Thanks. That was very clear and provided the information I was seeking.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum