Vyprvpn

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Vyprvpn

Postby pchristy » Apr 27th, '13, 10:18

Has anyone managed to get Vyprvpn working under Mageia? The instructions only cover Ubuntu, and despite my best efforts, I've been unable to get it to work at all!

Unless I install knetworkmanager, I can't even get the options for a username/password login. If I install knetworkmanager, I can then get all the required options, but the connection always fails with a simple "openvpn failed" entry in the syslog. If I try to use PPTP instead, I get a similar error.

I've read somewhere that PPTP VPN is problematic due to licensing restrictions, but no hint as to a work around. Giganews only recommends PPTP for the vyprvpn connection under linux. There is an openvpn option which is recommended by GoldenFrog (vyprvpn suppliers), but I can't get that to work either!

If anyone has succeeded with this, I'd love to know how you did it!

--
Pete
pchristy
 
Posts: 36
Joined: Jan 22nd, '12, 11:00

Re: Vyprvpn

Postby doktor5000 » Apr 27th, '13, 15:20

For the PPTP part, you should take a look at viewtopic.php?f=25&t=3848 and the thread linked there.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Vyprvpn

Postby pchristy » Apr 28th, '13, 13:28

Hmm! Well, I've had a look through that thread, and it appears to relate to release candidates from a year ago. Bug reports were filed, so hopefully yhose issues have been fixed. But in any case, my error messages don't match the ones quoted in the thread. tail /var/log/syslog produces:

Code: Select all
Apr 28 12:13:16 ozymandias NetworkManager[1112]: <info> VPN plugin state changed: init (1)
Apr 28 12:13:16 ozymandias NetworkManager[1112]: <info> VPN plugin state changed: starting (3)
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <info> VPN connection 'vyprvpn (PPTP)' (Connect) reply received.
Apr 28 12:13:17 ozymandias pppd[3604]: unrecognized option 'require-mppe'
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <warn> VPN plugin failed: 0
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <info> VPN plugin state changed: stopped (6)
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <info> VPN plugin state change reason: 10
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Apr 28 12:13:17 ozymandias NetworkManager[1112]: <info> Policy set 'System eth0' (eth0) as default for IPv4 routing and DNS.
Apr 28 12:13:21 ozymandias NetworkManager[1112]: <info> VPN service 'pptp' disappeared

It looks like a mppe failure. However, the mppe modules are loaded:

Code: Select all
~ lsmod |grep ppp
ppp_mppe               13036  0
ppp_generic            33065  1 ppp_mppe
slhc                   13466  1 ppp_generic


and the kernel passes the mppe tests.

Ideas, anyone?

UPDATE: I've managed to get it working on a Slackware machine using exactly the same setup as on the Magaeia-2 machine. On the Mageia-2 machine, if I uncheck the "Use MPPE encryption" box, the network connects, but is unuseable. Its very slow (a few KB) and stalls after a few seconds. If I re-enable MPPE, it refuses to connect, as detailed above. In Slackware, it works fine with MPPE enabled.

Am I missing a package somewhere? If so, what?

UPDATE 2: Looks like I might have been a bit premature dismissing the thread that doktor5000 pointed me towards! Re-reading, it in the light of increased experience, indicates that there is a bug related to legal issues which never got resolved with the ppp package! I'm just loading up Mageia-3 on an old hack machine to see if its been fixed in there, but if not, it looks like its back to good old, reliable, Slackware..........

--
Pete
Last edited by doktor5000 on Apr 28th, '13, 13:56, edited 1 time in total.
Reason: added code tags, to improve on clarity
pchristy
 
Posts: 36
Joined: Jan 22nd, '12, 11:00

Re: Vyprvpn

Postby pchristy » Apr 29th, '13, 08:51

No. It doesn't work in Mageia 3 either! Grrr!

--
Pete
pchristy
 
Posts: 36
Joined: Jan 22nd, '12, 11:00

Re: Vyprvpn

Postby doktor5000 » Apr 29th, '13, 20:08

pchristy wrote:Hmm! Well, I've had a look through that thread, and it appears to relate to release candidates from a year ago. Bug reports were filed, so hopefully yhose issues have been fixed.

[...]

UPDATE 2: Looks like I might have been a bit premature dismissing the thread that doktor5000 pointed me towards! Re-reading, it in the light of increased experience, indicates that there is a bug related to legal issues which never got resolved with the ppp package! I'm just loading up Mageia-3 on an old hack machine to see if its been fixed in there, but if not, it looks like its back to good old, reliable, Slackware..........

Well, the bug that has been filed, was about MPPE support for PPTP, not for PPTP itself, which has been made to work.
There's no PPTP bug report i'm aware of, only https://bugs.mageia.org/show_bug.cgi?id=5741 which was also about a MPPE problem.
Maybe the attached packages there can be of interest to you.

Apart from that, and in general, you may want to check https://bugs.mageia.org/show_bug.cgi?id=3454
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Vyprvpn

Postby pchristy » Apr 30th, '13, 09:09

Hi doktor5000,

Yes, perhaps I could have phrased that better! I was under the impression that MPPE was part of the pptp protocol. I saw the packages you mentioned, but some of the later messages seemed to indicate that these too had issues. I'm presently trying to work out if I can compile the Slackware packages - which do work perfectly - into a form where I can install them into Mageia. (I'm not that familiar with RPM....!)

Slackware has an RPM2TGZ tool which will convert rpm packages to Slackware format, but I haven't found anything to do the reverse.....

Looks like I have some reading to do on creating RPMs!

--
Pete
pchristy
 
Posts: 36
Joined: Jan 22nd, '12, 11:00

Re: Vyprvpn

Postby doktor5000 » Apr 30th, '13, 20:41

Well, for a quick and dirty try, you could take a look at checkinstall. Or show me the slackware package, maybe i can whip something up.
And IIRC, alien can also do cross-conversions between slackware and rpm (and dpkg and slp too): http://joeyh.name/code/alien/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Vyprvpn

Postby jameshouston135 » Aug 1st, '16, 13:54

Has anyone managed to get VyprVPN working under Slackware? If so, how?
All the instructions are aimed at Ubuntu users, and try as I might; I'm not making any headway with Network Manager! I've added Network Manager-openvnp-0.9.4 (haven't been able to locate a more recent version, and it seems pretty old), and think I've added all the needed information. But when I try and connect, I get a very helpful message in the Syslog simply saying that "VPN plugin failed: 0" - which is nearly as useful as most Windoze error messages!
I've tried to get it to work on a Mageia machine, and that's even worse - it doesn't even offer half the required options in the menu! But it DOES have a script in /etc/sys config/network-scripts/vpn.d/OpenVPN/VyprVPN openvpn.conf which looks like it does something useful. But where should I copy that too on Slackware?
If anyone has got this to work, I would love to hear from them!
jameshouston135
 
Posts: 2
Joined: Feb 1st, '16, 11:50

Re: Vyprvpn

Postby doktor5000 » Aug 1st, '16, 17:10

jameshouston135 wrote:Has anyone managed to get VyprVPN working under Slackware? If so, how?
[...]
If anyone has got this to work, I would love to hear from them!


Well, if you're inclined to know maybe ask in a slackware forum?
Apart from that, FWIW quoting the relevant post above:
pchristy wrote:UPDATE: I've managed to get it working on a Slackware machine using exactly the same setup as on the Magaeia-2 machine. On the Mageia-2 machine, if I uncheck the "Use MPPE encryption" box, the network connects, but is unuseable. Its very slow (a few KB) and stalls after a few seconds. If I re-enable MPPE, it refuses to connect, as detailed above. In Slackware, it works fine with MPPE enabled.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Vyprvpn

Postby wintpe » Aug 3rd, '16, 12:58

any reason you cant use openvpn instead of pptp.

there tends to be more understanding here on openvpn, and

i certainly find it much easier to see whats happening.

config is also much simpler, i use it for my own home vpn, and for torguard

https://support.goldenfrog.com/hc/en-us ... ux-Ubuntu-

shows that they support openvpn.

if its openvpn config you want help with under mageia 5 i can definitely help you there

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest