Friday, December 27, 2013

iPhone/Android VPN to PPTP VPN Server on TomatoUSB Router

iPhone/Android Phone Home - PPTP VPN Server for iPhone or Android on TomatoUSB Router

This is a quick tutorial on how to setup a PPTP VPN Server on your TomatoUSB Router. A PPTP VPN is ideal because it's fairly secure, simple to setup and both Android and iOS has built in PPTP VPN Clients which makes it convenient.

A VPN is a secure way for an iPhone or Android device to access local network resources such as internal web sites (SSL not required for secure access), samba shares, and SqueezeBox Server without the need to open up additional network ports on the router.

If you're looking for a router for this project, check out my [Tutorial] Apple AirPlay on TomatoUSB Router.

Assumptions:

1) You're running Shibby's BIG-VPN build of TomatoUSB
2) Dynamic DNS is setup (Required for Client Setup). See my
[Tutorial - 30 Minutes or Less] Site to Site VPN with TomatoUSB and OpenVPN post for instructions on setting up Dynamic DNS Address.

Steps:

1) Configure PPTP Server
2) Configure iPhone (iOS 7) VPN Client and Connect
3) Configure Android VPN Client and Connect - In Progress

Configure PPTP Server

Log into your TomatoUSB Router and go to VPN Tunneling->PPTP Server.

On the PPTP Server Configuration Page:

- Check Enable
- For Remote IP Address Range, pick a small IP Address range that is outside the scope of your DHCP Server but on the same network segment. For instance, I'm using 192.168.200.X as my network segment. My DHCP Server IP Adddress Range is 192.168.200.101-151. So I used 192.168.200.10-11 (outside the DHCP Range), giving me two IP Addresses (for two incoming iPhone).
- Set Broadcast Relay Mode to Both
- Set Encryption to MPPE-128
- Leave DNS Servers, WINS Servers, MTU and MRU at the default values.
- Under PPTP User List, add a user and set a password. You will need this info during the next step, Configure iPhone VPN Client.
- Save


Configure iPhone VPN Client and Connect

On your iPhone, go to Settings->General->VPN->Add VPN Configuration.
Select PPTP
Fill in the Description
For Server use your Dynamic DNS Address
Account name ("pptpuser" in this tutorial) and password.
Leave everything else as default.
Save.


Settings->General->VPN->Add VPN Configuration

Turn on VPN by going to Settings and sliding on "VPN". Note the "VPN" icon next to the clock when connected to VPN.

Turn iPhone VPN on by going to Settings and sliding on VPN

Configure Android VPN Client and Connect

Go to "Wireless and network" settings -> VPN settings.
Select "Add PPTP VPN"
Set VPN server name
Enable Encryption


24 comments :

  1. Great tutorial!! I hope iPhone and Android users are finding this tutorial helpful to setup VPN on TomatoUSB Router. I'm using Windows Phone 8.1, please let me know a tutorial of setting up such VPN on Windows. Thanks.

    ReplyDelete
  2. Very handy tutorial and I'm glad to find it just in perfect time!! I'm in the process to setup a similar type of VPN programs and through studying this post carefully I've learned valuable tips to setup such protocol easily. Thanks.

    ReplyDelete
  3. My iphone is saying: "The PPTP-VPN server did not repond. Try reconnecting. ..." Do I need to open ports on the router in order for PPTP VPN to work?

    ReplyDelete
    Replies
    1. No you should not have to manually open up any ports. Are you using Shibby's BIG VPN build and properly setup and confirmed that DDNS is working?

      Let me know if you figured out your issue.

      Delete
  4. my tomato is behind another router (two router setup)
    it is not working
    I disabled the ADSL router firewall
    I can ping the Ip address from the internet that the tomato clients are accessing the internet
    but I get The PPTP-VPN server did not repond. Try reconnecting. ..."

    ReplyDelete
    Replies
    1. That is not going to work. This tutorial assumes your Tomato router is your primary router and connected directly to the internet and not sitting behind another router. Not saying it's not possible, just not something I can help with.

      Delete
  5. This is a good process of learning! I'm already learned from this article. I'm using worl of vpn and you can check these here Smart DNS Provider now. Thanks for this allocation.

    ReplyDelete
  6. I think L2TP is better for both android and iphone check this out https://itunes.apple.com/us/app/bvpn/id955436453?ls=1&mt=8

    ReplyDelete
  7. Websoftex Loan Software is one of the most popular and experienced Loan Software companies in with around 8+ years of experience in building websites. Loan Software is a Loan Software company providing Economical-Cost Effective services with, Creative & Unique designing from Indian Designers team. winzip activation code

    ReplyDelete
  8. Best vpn - Grent serivce Enjoy complete security,

    ReplyDelete
  9. A good VPN for Europe to use on Android is IPVanish. Here is a review from the service focus on German speakers. https://anonymweb.de/ipvanish-vpn-im-test/

    ReplyDelete
  10. A good VPN for Europe to use on Android is IPVanish. Here is a review from the service focus on German speakers. https://anonymweb.de/ipvanish-vpn-im-test/

    ReplyDelete
  11. The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.. private internet access review

    ReplyDelete
  12. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Netflix DNS

    ReplyDelete
  13. IP addresses are one of the common ways used to locate anyone who is connected to the internet. Whether you are using a PC or a mobile device, you privacy is susceptible to intrusion. Therefore shared IP is a sure way to stay safe and protect your cyber identity. surfeasy premium discount

    ReplyDelete
  14. So glad to read your useful post. I have been using HideMyAss. I am sure to give it a try later.

    ReplyDelete
  15. This is very useful information on vpn for android and iphone. Few months ago, I took services of one of the renowned vpn providers after reading about some reviews on internet. Glad to get such fast services at affordable prices.

    ReplyDelete
  16. It is essential for the gadget that you use to be good. Ensure you get some information about the administration before you intend to utilize VPN benefits on your iPad. VPN service

    ReplyDelete
  17. It can be said that opening blocked twitter is possible only with the VPN, as there are many countries in the world that have banned the use of the twitter. free vpn sites

    ReplyDelete
  18. The Magic MyTouch 3G is an Android phone that is also available from HTC.oukitelcentral

    ReplyDelete
  19. Firesheep and Wi-Fi mocking are simple routes connected to hacking any data that is required. The similarity is the way that the firewall will ensure the information in the PC while the VPN will secure information even on the web. read

    ReplyDelete
  20. Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if thats cool. Thanks. Cheap VPN

    ReplyDelete

  21. I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
    vpn review

    ReplyDelete