gabe681 Posted November 25, 2011 Posted November 25, 2011 Hello All, I'm hoping that there is a linux genious out there that can help me figure this out. I'm new to the linux command line but have years of experience with windows command line as well as Vb script and powershell. Anyhow, i have been trying to get openvpn working on my unraid server connected to giganews. I'm running Unraid 5 beta 13 on a Intel core 2 dou with 2gb of ram. I also have the 6 drive version of Unraid. So far i have been able to download the openvpn and install the package from here - http://tintuc.no-ip.com/linux/slackpkg/10.0/pkg/openvpn-2.0.5-i486-1.tgz using the Installpkg command at /boot/packages I installed the certs and config files provided by giganews to /etc/openvpn. I then kick off the command openvpn (config file name) from the /etc/openvpn directory. Everything goes well at this point and i am prompted for user name and password, and it looks like its going to work, until i'm presented with Segmentation fault. I've search and searched and it sounds like i may have to recompile Openvpn with the correct Kernal but i'm not sure. I'm also not sure what kernal i should compile with. Does anyone have any experience with this and can point me in the right direction. Any help would be apprciated. Below is the text from my ssh session root@Tower:~# cd /etc/openvpn root@Tower:/etc/openvpn# ls French.client.conf* ca.vyprvpn.com.crt* fr1.client.conf* hk.client.conf* root@Tower:/etc/openvpn# openvpn fr1.client.conf Fri Nov 25 12:40:34 2011 OpenVPN 2.0.5 i586-pc-linux [sSL] [LZO] built on Nov 10 2005 Enter Auth Username:gabe681 Enter Auth Password: Fri Nov 25 12:40:40 2011 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. Fri Nov 25 12:40:40 2011 LZO compression initialized Fri Nov 25 12:40:40 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ] Fri Nov 25 12:40:40 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Fri Nov 25 12:40:40 2011 Local Options hash (VER=V4): '41690919' Fri Nov 25 12:40:40 2011 Expected Remote Options hash (VER=V4): '530fdded' Fri Nov 25 12:40:40 2011 UDPv4 link local: [undef] Fri Nov 25 12:40:40 2011 UDPv4 link remote: 138.199.67.145:1194 Fri Nov 25 12:40:41 2011 TLS: Initial packet from 138.199.67.145:1194, sid=80833c5c 2ecb2518 Fri Nov 25 12:40:42 2011 VERIFY OK: depth=1, /C=KY/ST=GrandCayman/L=GeorgeTown/O=GoldenFrog-Inc/CN=GoldenFrog-Inc_CA/[email protected] Fri Nov 25 12:40:42 2011 VERIFY X509NAME OK: /C=KY/ST=GrandCayman/L=GeorgeTown/O=GoldenFrog-Inc/CN=fr1.vpn.giganews.com/[email protected] Fri Nov 25 12:40:42 2011 VERIFY OK: depth=0, /C=KY/ST=GrandCayman/L=GeorgeTown/O=GoldenFrog-Inc/CN=fr1.vpn.giganews.com/[email protected] Segmentation fault root@Tower:/etc/openvpn#
thejinx0r Posted November 26, 2011 Posted November 26, 2011 If you do need to recompile the kernel, it is going to be a daunting task especially if you are NOT a long time linux user. In any case, you can start here: http://lime-technology.com/wiki/index.php?title=Installing_unRAID_5.0_on_a_full_Slackware_Distro
gabe681 Posted December 2, 2011 Author Posted December 2, 2011 Ended up retiring the D-Link gamer lounge for a DD-WRT buffalo router and configuring VPN at the router. Seems to be the way to go at this point.
boof Posted December 2, 2011 Posted December 2, 2011 ANother option is to virtualise your unraid server under ESXi and also create a smaller virtual machine as a 'download' box. You can then run whatever distro you want with no hassles around installing extra kernel modules, nfs mount your unraid array to it and continue as normal. More initial setup fuss in virtualising but once done you're completely flexible and you can retire unraid to merely being a storage backend and ignore jumping through hoops to get additional services installed and just do them elsewhere instead.
tyreebnks Posted December 19, 2011 Posted December 19, 2011 this works for me.. http://tbankslinux.blogspot.com/2011/12/using-cli-openvpn-and-vyprvpngiganews.html
Keevil Posted February 5, 2012 Posted February 5, 2012 So far i have been able to download the openvpn and install the package from here - http://tintuc.no-ip.com/linux/slackpkg/10.0/pkg/openvpn-2.0.5-i486-1.tgz using the Installpkg command at /boot/packages Did you install OpenVPN via the method above, or did you do it another way? As i know that the link provided which takes you to a blog asks you to install it another way? Can you help, as this is something i really want to set up. Many Thanks
peter_sm Posted February 5, 2012 Posted February 5, 2012 No, I don't have so much time right now, and I don't think I will try this longer. //Peter
madmadeline Posted February 29, 2012 Posted February 29, 2012 this works for me.. http://tbankslinux.blogspot.com/2011/12/using-cli-openvpn-and-vyprvpngiganews.html I too am trying to create a VPN connection. I used the site above and got the following message. Any help is appreciated root@media-server:~# sudo openvpn --client \ > --remote hk1.vpn.giganews.com \ > --dev tun \ > --comp-lzo \ > --auth-user-pass \ > --tls-client \ > --ca /etc/openvpn/ca.vyprvpn.com.crt Wed Feb 29 01:07:15 2012 OpenVPN 2.0.5 i586-pc-linux [sSL] [LZO] built on Nov 10 2005 Enter Auth Username:xxxxxxxxxxx Enter Auth Password: Wed Feb 29 01:07:35 2012 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. Wed Feb 29 01:07:35 2012 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Wed Feb 29 01:07:35 2012 LZO compression initialized Wed Feb 29 01:07:36 2012 UDPv4 link local (bound): [undef]:1194 Wed Feb 29 01:07:36 2012 UDPv4 link remote: 203.170.29.31:1194 Segmentation fault
Recommended Posts
Archived
This topic is now archived and is closed to further replies.