Create Private PPTP VPN for personal use in Linode Cloud Hosting.

Nowadays many things are getting blocked by the government, and sometimes without even a valid reason. When something like this happen to you, you probably looking for some way to bypass these restrictions, and most of the times we look for free or cheap VPNs.

In today’s world, nothing is actually free, there is always something we are giving in return to those so called free providers and most of the time we are doing this unknowingly. User data is the most valuable asset in today’s business, and we are always sharing that info even without our knowledge.

And also, when we are using those free VPNs, we really don’t have any control over the data that we are accessing using it, as there could be some tacking configured or may be configured with a man-in-the-middle attack (MITM)..

So, I strongly suggest not to trust those providers blindly, as you could easily setup your own PPTP VPN from with 1TB data transfer every month with just 5$ a month fee. For this you have create a account in Linode. Here you will get a dedicated VM with 1 GB RAM, 1 Core CPU, 25 GB SSD, 1 TB Data transfer with 40 Gbps network In and 1000 Mbps Network Out and one dedicate IPV4 & IPV6 IPAddress.

Please follow the guide bellow to host your own private high speed PPTP VPN Server.

Steps:

  • Open Linode Web for creating one account : Chick Here
  • Register your account with a credit card and Use promo code DOCS10 for $10 credit on a new account.
    (You need your credit cad for minimum $5 top-up, and you will get total $15 in your account)
  • Logon to your account.
  • You can select Nanode 1GB.
  • Select your preferred region and click Add this Linode!

Continue reading

Powerful AWS Bot for automation using Telegram Bot API written in PowerShell

Sometimes back I was working on a free notification system using Telegram Bot (https://telegram.org/blog/bot-revolution), and I wrote a simple function in PowerShell, which could be use in various ways for sending instant notification to any smartphone for free (http://bit.ly/2ys1gF5).

I thought what else we could do with it, and I have got an idea to use it as AWS Automation Bot to perform simple tasks. I have created a set of instructions for a Bot using PowerShell script which we could use to perform the following tasks instantly instead of doing it from AWS console.

  1. Getting instance details using instance name.
  2. Getting attached volume details using instance name.
  3. Getting list of the available snapshots for a instances using instance name.
  4. Getting the console screenshot for troubleshooting using instance name.
  5. Getting the console log for troubleshooting using instance name.
  6. Start an instance using instance name.
  7. Stop an instance using instance name.
  8. Restart an instance using instance name.

Continue reading

Add new Admin Account to AWS Windows Instances to rescue the system

As mentioned earlier, we could reset the local admin password of windows instances via registry, but unfortunately that will not going to help us if we forget the user id details or we renamed the user id. And the good news is, we still will be able to logon into the system by creating one new Admin Account using AWS User Data. This process is very simple as described bellow.

  • You have to re-attached the root volume of faulty system to a working AWS instances.
  • Now, you have to use EC2Rescue to enable user data (Ec2HandelUserData), which will execute a script on next boot. (*This could be done by editing config.xml file of EC2Config)

  • Once done, you have to re-attach the volume to the original system as root (/dev/sda1) volume.
  • Now, from AWS EC2 Console, you have to select the server and edit the User Data before starting the server and add the following PowerShell script. This script will create a Admin Account called “MyAdminX” with the password “!!4SJKAHGYWMd4!!” on first boot and you will be able to logon to the server using this new account.

 


I hope this will be helpful for you.