One Click Install of your own PPTP Server

I have been using VPN servers as part of my day-to-day job for years. It is what lead me to starting a VPN review site. One of the issues I have found is that sometimes you need a VPN server but none of the providers seem to support your country. I have this often coming from South Africa. Very few VPN providers seem to support South Africa. I have a very simple script which you can use to set up your own private VPN server. Just think, your own PPTP server without everyone downloading torrents on it making it terribly slow to use.

For this example, I will be using Host1Plus who offer unbelievable cheap VPS’s in various locations which make them an ideal choice. For this example I will be using the Amber package, Joburg (South Africa) location and Ubuntu 14.04. If you take the 6 month subscription it works out to $16 or $2.70pm. That is a STEAL!

Host1Plus package information

Now that you have the server purchased and ready to rock and roll, you will then need the following script which will install the VPN for you in 1 go. I say VPN in one click, but thats not quite true. As we’re using bash it is a few more keystrokes and a few less mouse clicks ūüôā

That is pretty much it. From here you can use your favourite VPN client to connect. When using Windows, you can use the built in VPN client. On Mac, I prefer to use a tool like Shimo VPN which allows PPTP which Mac OSX Sierra decided to drop support for (grump!).

#    Setup Simple PPTP VPN server for Ubuntu and Debian
#    Copyright (C) 2015-2016 Danyl Zhang <[email protected]> and contributors
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    GNU General Public License for more details.

printhelp() {

echo "
Usage: sh [OPTION]
If you are using custom password , Make sure its more than 8 characters. Otherwise it will generate random password for you. 
If you trying set password only. It will generate Default user with Random password. 
example: sudo bash -u vpn -p mypass
Use without parameter [ sudo bash ] to use default username and Random password
  -u,    --username             Enter the Username
  -p,    --password             Enter the Password

while [ "$1" != "" ]; do
  case "$1" in
    -u    | --username )             NAME=$2; shift 2 ;;
    -p    | --password )             PASS=$2; shift 2 ;;
    -h    | --help )            echo "$(printhelp)"; exit; shift; break ;;

if [ `id -u` -ne 0 ] 
  echo "Need root, try with sudo"
  exit 0

apt-get update
apt-get -y install net-tools
apt-get -y install pptpd || {
  echo "Could not install pptpd"
  exit 1

echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf
sed -i '[email protected]_syncookies.*@#net.ipv4.tcp_syncookies = [email protected]' /etc/sysctl.conf
sysctl -p

ETH=`route | grep default | awk '{print $NF}'`
iptables -I INPUT -p tcp --dport 1723 -j ACCEPT
iptables -I INPUT  --protocol 47 -j ACCEPT
iptables -t nat -A POSTROUTING -s -d -o $ETH -j MASQUERADE
iptables -I FORWARD -s -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j TCPMSS --set-mss 1356
service iptables save
service iptables restart

#no liI10oO chars in password

LEN=$(echo ${#PASS})

if [ -z "$PASS" ] || [ $LEN -lt 8 ] || [ -z "$NAME" ]
   P1=`cat /dev/urandom | tr -cd abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789 | head -c 3`
   P2=`cat /dev/urandom | tr -cd abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789 | head -c 3`
   P3=`cat /dev/urandom | tr -cd abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789 | head -c 3`

if [ -z "$NAME" ]

cat >> /etc/ppp/chap-secrets <<END
$NAME pptpd $PASS *

cat >/etc/pptpd.conf <<END
option /etc/ppp/options.pptpd

cat >/etc/ppp/options.pptpd <<END
name pptpd

apt-get -y install wget || {
  echo "Could not install wget, required to retrieve your IP address." 
  exit 1

#find out external ip 
IP=`wget -q -O -`

if [ "x$IP" = "x" ]
  echo "============================================================"
  echo "============================================================"
  echo -e "You can now connect to your VPN via your external IP \033[32m${IP}\033[0m"
  echo -e "Username: \033[32m${NAME}\033[0m"
  echo -e "Password: \033[32m${PASS}\033[0m"
sleep 2

service pptpd restart

exit 0

The above code assumes that you are running Ubuntu server and have iptables running as a ‘service’ and have the /etc/init.d script in place.


[[email protected]_vpn ~]# vim

Now paste the contents above into the file.

[[email protected]_vpn ~]# chmod +x

This will make the file executable. Now that this is done you can now ‘setup’ your VPN.

-- snipping all the output --

Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
-e You can now connect to your VPN via your external IP #changed IP but this will show your IP
-e Username: A_User_Name
-e Password: yourPassword

Now your new VPN server is ready to go. Enjoy

If you found this useful, please consider using my referal link for Host1Plus as a way to say thank you.


Liberty has landed – Massive discounts on HMA

IPVanish VPNThe guys over at Hide My Ass have a cracker of a deal on VPNs. Get 57% off VPNs now as part of their Liberty has landed campaign.

IPVanish VPN Review 2017

Provider : IPVanish VPN
Price : from $6.49/month
Coupon Code : none available yet
Overall Rating : 4.5 / 5
Get HVPN4ALL at discount rate now

The too long, didn’t read summary first. More than 20 countries, more than 2500 IP addresses and support for all the usual protocols and most importantly, at a great price. These are the factors that most people seem to find important and based on these, I find myself saying hell yeah.

So if you have gotten this far, lets get into the finer details or IPVanish VPN service. Lets start with the supported protocols.

IPVanish VPN Protocols
IPVanish supports all of the usual protocols. They have the ever popular openVPN and they also support my personal favourites PPTP and L2PP

IPVanish VPN Countries
IPVanish is available in more than 20 countries, have a quick look at the image below to see if this fits into your needs.

IPVanisher VPN Video Streaming

One of the biggest questions I get asked when it comes to VPNs is how it works on streaming services. When I do a review I log into both the USA and the UK and do tests on TV servoces. I tested IPVanisher on, and lastly just watching the off youtube video. I am happy to reply that all streaming services worked just fine. I had one slight stutter but I think that was due to my connection and I extended the test to see if I could get a re-occurrence and I had none. I am pretty glad to say that in my IPVanish review I can give this full marks.

IPVanish Policies and Log Retentions
The question I get asked all the time too is in regards to P2P usage and log retention. IPVanish allows P2P on all servers without restriction. This is very welcome as many companies have certain allowed servers which becomes a pain when you are constantly having to switch. What makes IPVanisher even better is they keep no logs. Below is the log policy

“IPVanish in no way records or stores any user‚Äôs activity while connected to IPVanish..¬† We don‚Äôt know where you went or what you did when connected to the VPN.¬† IPVanish respects every customer‚Äôs right to privacy and don‚Äôt think it‚Äôs anyone‚Äôs business what someone else does.”

IPVanisher Speed Tests
Here are a few of the speeds tests which I have completed from my 20Mb Sky Fibre connection.

United Kingdon – NO VPN

UK with VPN

USA – Arizona with VPN

France – Paris with VPN

Germany – Frankfurt with VPN

So I have finished my testing and all I can say is that I am really happy with this service. It is a great price and offers good performance and has great server locations. If you are in any restricted counties you should not have any problems with IPVanish. It was an absolute pleasure working on the IPVanish Review as everything just worked. This is not always the case with VPN providers! Speeds were good with the slowest coming from the UK which is understandable with the hop across the pond.

IPVanish VPN Prices
1 Month ‚Äď $10.00
3 Months ‚Äď $26.99 ($8.99/month)
12 Months ‚Äď $77.99 ($6.49/month)

IPVanish Coupon Code
There are currently no active coupons but for great deals click here.



VyprVPN Review

If you have made your way here you probably know exactly what a VPN and a VPN service is, if not I shall give you a brief explanation. A VPN is a virtual private network and what that boils down to is a secure network link between 2 networks over the internet. There are many reasons why you would need this but some of the more ‘practical uses’ for this is anonymity, security and a handy tool to bypass pesky geotargeting systems.

VyprVPN is a commercial service that offers various different options from openVPN protocol to PPTP and can even be used on your portable devices like iPads, iPhones and even your Android devices.¬†VyprVPN seems to have stemmed from the ‘sharing’ community which to me is a great indicator that your personal identity will be well protected as many of them do not keep logs and if they do they are usually not kept for very long. With more and more countries tightening up their laws surrounding surfing the internet, bittorent downloads and your internet habits, your privacy is becoming more and more at risk. Services such as¬†VyprVPN are becoming a¬†requirement. Even if they are not monitoring some countries even go as far as to block sites and this tool provides a perfect way to use these services as well as keep your IP safe and your identity unknown. What I have found so far with¬†VyprVPN is good speed and geographic points to connect as well as great support. They also support more protocols than many other providers and as mentioned a huge benifit is their support for mobile devices.

As with all services, you want to get to the results… Show me the money!!!¬†VyprVPN stands up well here in most regards. If you are someone who likes to watch geotargeted programs such as and shows on you are in luck. I managed to watch these perfectly (from London) without any stop-starts or buffering issues which I have not been able to do with other services. I have also done some speed tests but please note when looking at these, the tests are based out of London so the hop to Hong Kong and the USA will be much bigger than the hop to the Netherlands and USA users will have much lowers pings when using this service and likely higher speeds. I have Virgin Media cable internet line which is up to 10Mbps download and 512kbps download.

So in conclusion, I am very impressed with VpyrVPN, it does everything it says on the tin and more, it is simple to use, simple to install and I am left feeling safe browsing and downloading. There does not seem to be too much of a handbrake when running through the VPN so it does not interfere with my day to day work. Would I recommend it to a friend, hell yeah, I am now using it myself!

Pure VPN Review 2016

There are so many VPN providers these days it is pretty challenging to stay ahead of the changes. What adds more of a challenge too is that these providers themselves change. I did a review of one provider who was brilliant, and a year later all I have heard is complaints. With this in mind I have decided to do regular reviews on the providers.

Pure VPN is an established VPN provider with great servers, a great price point and great customer service. I will break this down into a few points which might make choosing the right provider for you a bit easier.

Pure VPN Review – Available VPN protocols
Pure VPN has a good range of protocols, not great however. The usual suspects are all there such as PPTP, L2TP/IPSEC and SSTP but sadly lacks the very popular OpenVPN. For many this won’t be a problem as you can set this up on most computers and operating systems, most mobile devices like your iPad, iPhone or Android device and many others too.

Provider : Pure VPN
Price : 1 month Р$9.95 (0% Discount)
12 month – $74.95 (37% Discount)
Protocols : PPTP, SSTP, L2TP
IP’s available : Unknown
Overall Rating : 4.5 / 5

Pure VPN Review – Server Presence
Pure VPN now have 50 servers and are continuing to grow. They have servers in USA, Canada, United Kingdom, Germany,  Netherlands, France, Sweden Singapore, Romania, Switzerland, Russia, Malaysia, Ireland and Panama. These servers seem to be setup to provide both static as well as dynamic IP addressing.

Pure VPN Review – Speed Tests
I have been using Pure VPN all week now and have especially been testing with a few video services. I am in the UK so I wanted to watch and Netflix for outside the USA so I connected up with the VPN and started watching immediately. I only had one slow down and this was during peak times and I am almost certain that it was caused by my own internet connection rather than the VPN as I had no other issues at all in my tests. I achieved good speeds and most importantly for me, a reliable connection.

Pure VPN Review –¬†Conclusion
During my time reviewing and using Pure VPN I found the setup easy, the pricing good and the supported protocols and server presence good. I logged a fake ticket just to see the support times and it was answered promptly and more importantly, in a friendly manner. I have absolutely no reservations about recommending Pure VPN to any one looking for some extra privacy, to remove internet restrictions or if you are just trying to catch up on your latest TV shows on Hulu or Netflix.

IPVanish add further servers this holiday season!

IPVanish VPNSome more good news for everyone looking currently using IPVanish or are looking to find a new provider. They have just added 4 new locations to their rapidly growing coverage footprint. IPVanish have a great network too and are probably one of the fastest out there, if not the fastest! Full press release below

“IPVanish has been working non-stop through the holiday season as they continue building out the absolute best VPN service on the planet–the best speeds, the most reliable network, the best technical support and the best pricing available anywhere.¬† As part of this commitment, IPVanish just added 4 new servers in 4 new countries, all at no added cost to new and existing subscribers:

Prague, Czech Republic
Milan, Italy
Serangoon, Singapore 
Moscow, Russia

These 4 new servers, in addition to every other server available on IPVanish VPN network, include unlimited OpenVPN, L2TP and PPTP connectivity as well as uncapped bandwidth.  All IPVanish subscribers also get:

-Direct access to the fastest VPN network in N. America and Europe (and recently expanded into Asia)
-Free IPVanish VPN software
-Unlimited switching among IPVanish’s 60+ servers
-Up to 2 simultaneous connections to secure multiple devices

All new customers can signup today for as low as $6.49/month for unlimited VPN access + a 7 day money-back guarantee.”

New IPVanish VPN Windows Client

IPVanish VPNDo you have Windows 8 and are struggling with your VPN provier to get a client that works? Well, there is good news in store for you. IPVanish have just released an updated Windows client and even better news is it supports Windows 8! I have been playing around with it this morning and it does everything it says on the tin. It is a great update. Head on over to IPVanish and download the new version.

Wanting to switch? Make sure you read this IPVanish review before you do!

Full Press Release

“We have some big news from IPVanish.¬† Just minutes ago, they released the newest version of the IPVanish VPN Windows client, which now makes it possible to enable OpenVPN on Windows 8!

Please note that OpenVPN is not enabled on Windows 8 by default.  To enable it, open the Preferences window and select the appropriate checkbox.  The IPVanish client does not need to be restarted to enable OpenVPN.

Also, if OpenVPN is enabled on Windows 8, it can be selected for auto-connect on client startup.

Stay tuned for more news soon as the IPVanish development and operations teams are hard at work building the most feature-rich and reliable VPN service in the world.”

Holiday Discount for Hide my Ass VPN, Prices From $4.99!

Good news for all of you. The guys down as Hide My Ass VPN have some great discounts for the holiday season. Starting from 3 December until 31 December you can head on down and have  a visit and cash in on some crackers. Click the link and go and buy, no coupon code required.

Christmas Holiday Promo 2012 Details:

1 month:  $11.52 > $9.99 (13% saving)
6 month: $49.99 > $39.99 (20% saving)
12 month: $78.66 > $59.99 (24% saving)


IPVanish have released their Mac client

I know many people will be happy with the fact that IPVanish have released their Mac client. If you have OSx 10.7+ you are in luck and can download it right now. It supports a host of great features, lets you choose your protocol and thankfully shows all servers which are available, which if you are like me and using PPTP, it is a hassle to look up the server address each time you want to change location. The only thing missing which I would have liked to have see what for them to show current server utilisation.

Here is the full press release. “IPVanish made another big announcement today with the release of its Mac-based IPVanish VPN software.¬† The Mac client is currently in BETA and available to all new and existing IPVanish customers at no cost via¬†

The IPVanish Mac client comes with a full lineup of features including:
-Installation setup wizard
-Auto-connect customization with options to connect to the most recent server used, the server with the fastest ping time or a specified server
-Switch IP addresses by city, country and/or server response time
-Switch VPN protocol (OpenVPN, L2TP, PPTP)
-IPVanish connection status integrated into the Mac menu bar
-Full preferences menu

A visual setup guide for the Mac client can be found at¬†¬† If you have any questions or feedback, please email¬†[email protected]¬†or your Account Manager directly.¬† Your input is always welcomed and appreciated.

Stay tuned for more announcements soon as IPVanish continues to enhance the best value, full-featured VPN service package in the world!”

IPVanish launches new server in Hong Kong

Just got some news from the guys over at IPVanish and am happy to announce that they have added a new server in Hong Kong. This increases there already great footprint and coverage of this exciting provider.

I also have a review of IPVanish going up in a few days after I finish my final testing.

“We’re excited to announce that IPVanish today launched a new VPN server in Hong Kong.¬† The new server will plug directly into IPVanish’s global tier-1 VPN network and supports OpenVPN, L2TP and PPTP connectivity for all customers at no added cost.¬† With today’s Hong Kong addition, the IPVanish VPN network now spans 2500+ IPs on 54 servers in 20 countries worldwide.

Now with discounted multi-month access plans available, IPVanish provides the best value for full-featured VPN service available anywhere.  Starting as low as $6.49/month with the new annual VPN package, all IPVanish customers get:

-Unlimited monthly VPN access
-Uncapped VPN speeds
-Direct access to one of the fastest tier-1 VPN networks in the world (and recognized as the fastest network throughout N. America and Europe)
-Free IPVanish VPN software
-2 simultaneous VPN connections to encrypt multiple devices at the same time

Stay tuned for more exciting news from IPVanish soon as they continue to expand their Asian network presence.¬† You can also expect some news soon about an upcoming IPVanish VPN mac client!”