Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

VPN under WINE[SOLVED]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

VPN under WINE[SOLVED]

  • Quote

Post by Budoka » Sat Mar 15, 2014 10:57 am

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.
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Mar 15, 2014 3:51 pm

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.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Sun Mar 16, 2014 4:52 am

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
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Mar 16, 2014 5:24 pm

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.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Mon Mar 17, 2014 4:51 am

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.
Top
dwickle
n00b
n00b
Posts: 1
Joined: Thu Dec 31, 2015 12:37 am
Location: Chesapeake, VA
Contact:
Contact dwickle
Website

  • Quote

Post by dwickle » Thu Dec 31, 2015 12:41 am

You might want to check out Crossover for Linux (commercially maintained wine) as it may just work. They have a like a 15 or 30 day trial license so you could at least test it out.

They definitely do support other VPN Clients.

It's worth noting that if it does work and you let your license expire then it's likely they'll send you offers for 40% off the purchase price (code: SPECIAL40 ). I tested it once for SmartDashboard and was surprised to see it actually works. I hear Cedaga also worked but that's dead now.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic