All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Point me towards an idiot-proof, mostly-automated OpenVPN server install script, please?
I don't have very extensive experience with Linux, but I've always been able to follow installations guides and configure things just fine. Except for when it comes to installing OpenVPN...
I have tried no fewer than a dozen different guides and 6+ automated scripts (including the LEB forks) and still can't seem to install an OpenVPN server (for private use) on my VPS. Over the years, I've tried installing it on CentOS5, CentOS6, and now, Debian6. No dice on any. I know it should be really simple, but this is driving me crazy. Help, please? I've just now reinstalled Debian on my latest VPS for the 5th time since buying it just a few hours ago...
ETA: OpenVZ
Comments
I am also looking for this.
OpenVZ or not, I believe the iptables commands are a little different. Can't really remember if that's correct or not.
I always found that the script that regolithmedia posted in the Tutorial section of LET was pretty easy to follow.
So, what's your problem?
Buyvm template
Openvpn-AS
Download the deb, install the deb, set the openvpn admin user password, Done, connect with client (existing unix users's accounts will work)
It does not get much simpler?
It's great, really easy to install and stuff but I prefer the normal OpenVPN since you can't have more than one VPN config on the client at a time, which granted, most people don't do.
http://board.prometeus.net/viewtopic.php?f=8&t=824&sid=d1e3cfa84f5379a20aec3f9487ea2b3c
Running on OpenVZ
Different errors with every guide/script
Sorry, but I just signed up with another host that had an amazing (possibly too good, but oh well :P) promo.
http://www.putdispenserhere.com/openvpn-debianubuntu-setup-script-for-openvz/
Just have to change .deb download link as desired since the one used in the script is outdated.
Just have to change .deb download link as desired since the one used in the script is outdated.
Just re-installed Debian. Will try this guide now.
ETA: Can't find an rpm for OpenVPN v2.3.0
That was a total waste of your time. Openvpn-AS has a good site with easy to follow instructions with option details you can read that explain each step.
Not sure why you felt the need to reinvent the wheel with that post.
Writing that wasn't a waste of time, posting it here maybe. It's a good post to point clients to when they want to install a VPN and ask you.
Does Openvpn-AS work on Ubuntu versions newer than 10? The latest download that I see is for Ubuntuu 10.
The reason I avoided OpenVPN AS was limit of 2 concurrent connections. That could be reached by my own use (phone and laptop), so family members wouldn't be able to use it, too.
Just use the same account to connect all your devices?
Well, the OP asked for a very simple one. There are many people which need a very detailed howto with pictures.
My understanding was that the concurrent connection limit is the actual number of simultaneous logins, not the number of users. Is that incorrect?
@Orcworm: using the guide at http://www.putdispenserhere.com/openvpn-debianubuntu-setup-script-for-openvz/ gives me the following error (after updating the .deb link):
404 Not Found
Err http://ftp.debian.org squeeze/updates/contrib i386 Packages
404 Not Found
Err http://ftp.debian.org squeeze/updates/non-free i386 Packages
404 Not Found
Fetched 6833 kB in 4s (1400 kB/s)
W: Failed to fetch http://ftp.debian.org/debian-security/dists/squeeze/updates/m ain/binary-i386/Packages.gz 404 Not Found
Subsequently, throws a bunch more errors with files and dirs not existing and so forth.
I haven't used OpenVPN but have used this guide from SecureDragon (and their template) several times successfully:
https://my.securedragon.net/knowledgebase.php?action=displayarticle&id=70
"different errors" doesn't mean nothing =/
I just use this one http://wiki.buyvm.net/doku.php/vpn:openvpn
@user123 The limitation is concurrent users. If a user account allows multiple connections, then you can connect multiple times with the same user account .
I'm sure you're very irritated with having to go through many tutorials, but for a tutorial that has worked many a time for myself, and has also been recommended by @miTgiB see this: http://tipupdate.com/how-to-install-openvpn-on-ubuntu-vps/
They have a CentOS tutorial on that site too.
If you're only wanting a VPN, and not other uses for the server, it might be worth considering a VPN provider. @HC_Ro does a nice PAYG service with http://www.heroicvpn.com
Installed OpenVPN AS and created a user and was trying to start the server, but get the common error "iptables service not started because of error (SVC_RUN_EXCEPT)"
TUN/TAP are already enabled and the VPS host supports VPNs.
They have a CentOS tutorial on that site too.
If you're only wanting a VPN, and not other uses for the server, it might be worth considering a VPN provider. @HC_Ro does a nice PAYG service with http://www.heroicvpn.com
I need the VPS for other things, too, but using it as a VPN would be useful, too.
Depending on your usage scenario, there are many kinds of VPNs, this one does not need any installation: http://board.prometeus.net/viewtopic.php?f=8&t=828&sid=75f33fb9c3cf98d740a041e883913ca8
There is also PPTP and even squid for browsing only.
http://www.lowendtalk.com/discussion/6106/openvpn-community-software-auto-installer-for-centos-5-6-debian-6-and-ubuntu-10.10
Turnkey Linux OpenVPN exists I think..
Yes, but will have to ask the host to download it.
If it's too much trouble for them I'll load it lol.
It looks like the iptables error message was a server-side issue. I opened a support ticket and linked them to the OpenVPN page about configuring the host node for AS. After two iterations of changes, it's (OpenVPN AS) working now! Thanks for the help, everyone .