• November 04, 2024, 07:03:40 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DIR series routers, VPN, T.V. and iPhone access configurations  (Read 14405 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
DIR series routers, VPN, T.V. and iPhone access configurations
« on: December 12, 2013, 10:22:28 AM »

When using an iPhone to VPN into a home network, that is on the PC where you create an incoming VPN connection (at least for Windows 7), you should select the option to let the PC select a DHCP address for the inbound connection from the iPhone. Of course the router should have virtual server set up for ports 1723 and 47 but that is covered in other posts. Skip the forwarded ports (it has to be either or and can't be both virtual server and port forwarding at the same time-stay with using the virtual server).

3 things to check for:
A) Be sure on your iPhone you put in your current home network's ip address as seen using ipchickendotcom,
B) Be sure you have the virtual server set up for ports 1723 and 47 and select "both" for in and outbound traffic, and be sure you have your incoming connection adapter set up on your pc (as in control panel, network, manage adapters, alt f to open up drop down menu to "create incoming connection".
C) Let your incoming connect set the ip address through DHCP for the inbound connection.

This works fine with some consistency and I can watch my home TV channels on my iPhone using a TV app from my cable provider. I do it with 3g and while it works, and works better with being on someone's WiFi away from home, the point is it can be done with 3g (watch TV) fairly successfully.

If and whenever the VPN doesn't work, wait 15 minutes or so and always check the three things I mentioned above:
IP address (even a static one can be changed every year or so by your provider).
Your virtual ports on your router.
Your incoming connection adapter.

Once in a while I use Malware scans and one of them always seems to erase my inbound adapter so I have to recreate it. A small price to pay to connect and watch TV while away from home (football season-this is especially great)

Hardware version or the firmware version of the DIR655 you use can make a big difference. There are a few things that are also be helpful information for anyone needing an inbound PPTP VPN connection to their network (not necessarily just from an iPhone).

The information below is based on hardware version B1 DIR655 running firmware version 2.11NA:

1. This may vary with different Windows versions, but I have never had to forward port 47 (or open port 47 in the Windows firewall) to get an inbound PPTP VPN connection to work with Windows 2003/XP.

2. This may vary with different Windows versions, but I only need to forward TCP port 1723 (and open TCP port 1723 in the Windows firewall) to get an inbound PPTP VPN connection to work with Windows 2003/XP.

3. In the DIR655 Firewall Settings I set the least restrictive NAT, and enable the PPTP ALG.

4. The current hardware and firmware DIR655 supports a free dlinkddns client (contracted through DynDNS) that will allow you to access your PPTP VPN connection using a never changing hostname even if your ISP uses a dynamic IP connection.







iPhone VPN Configuration
Must have an DDNS provider.

Go to “Features” > “Quick VPN” in router.
Turn VPN on. Change “User” & “Password” if you want.
Save file to Desktop which will be vpnprofile.mobileconfig.

Open the vpnprofile.mobileconfig file with Notepad (Windows).
Near the top, find:
 
<string>SharedSecret</string>
<key>SharedSecret</key>
<data>xxxxxxxxxx</data>

Write down the info between <data> & </data>. Case sensitive.
You will need this for the “Secret” password to install the profile later.

Near the bottom, find:

<key>UserDefinedName</key>
<string>DLink 880L</string>

Change the info between <string> & </string> to what you want, if not, Aaa will show up as your VPN name.

Save file, not “Save As”.

Attach this file and Email to yourself on iPhone.
Open this email on iPhone and click on the attachment.

Profile will start to install. Just follow prompts.

Go to “Settings” on iPhone and “VPN” should show up right below “Cellular”.
Click on “VPN” and you should see your VPN listed. Click button to connect or disconnect.
« Last Edit: April 28, 2016, 07:51:48 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.