Windows 7 server to Android VPN client not connecting


  1. Posts : 20
    Windows 7 Home Premium 64-bit
       #1

    Windows 7 server to Android VPN client not connecting


    Okay so far I've setup windows built-in VPN server (using this GUIDE), forwarded ports on my router to port 1723 to my computers local IP and enabled PPTP passthrough. Created 2 rules in windows firewall to allow both TCP 1723 and GRE 47. I've even turned windows firewall off to see if I could connect that way. Still nothing. My phone will say connecting for about a 50 seconds then disconnect. Contacted Motorola and they said that the router will forward GRE with PPTP passthrough enabled, thta its most likely a Windows issue. I'm using a Galaxy S4 and the router is a Motorola SBG6580. I'm totally lost. No errors or anything from android or Windows.
      My Computer


  2. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #2

    Maybe the following link will help. Any questions let me know. :)

    How to: Windows 7 incoming VPN from Android « Damian's Blog
      My Computer


  3. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #3

    Thanks for the reply and the link. I started over and followed the guide you supplied to the letter. It still doesnt connect. However, I noticed if I set the server IP on my phone's VPN client to my computers IP address it disconnects in like 5 to 10 seconds. If I set it to the virtual IP of the RAS dial-in interface it takes 50 seconds to disconnect. Neither connect.
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    GRock84 said:
    Thanks for the reply and the link. I started over and followed the guide you supplied to the letter. It still doesnt connect. However, I noticed if I set the server IP on my phone's VPN client to my computers IP address it disconnects in like 5 to 10 seconds. If I set it to the virtual IP of the RAS dial-in interface it takes 50 seconds to disconnect. Neither connect.
    Did you read the details about setting up the DHCP server IP range?

    The DHCP range they show in the picture probably won't be the same as the DHCP range required for your particular router. Although I'm not completely sure where they accessed this incoming IP properties window, they mention IPv4 properties but I don't see it there.
      My Computer


  5. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #5

    "Make sure the range you specify is on your LAN, and out of the range served by your DHCP server"
    I dont entirely understand what this means. So say my local IP range is 192.168.1.1 through 192.168.1.256. Should I set the range as 192.168.1.200 through 256 or 10.0.0.1 through 10.0.0.256?
      My Computer


  6. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #6

    GRock84 said:
    "Make sure the range you specify is on your LAN, and out of the range served by your DHCP server"
    I dont entirely understand what this means. So say my local IP range is 192.168.1.1 through 192.168.1.256. Should I set the range as 192.168.1.200 through 256 or 10.0.0.1 through 10.0.0.256?
    .256 is an invalid IPv4 address number regardless of the subnet. Your LAN subnet will be dictated by your router (DHCP server). DHCP will have a range of IP addresses used to hand out to client devices (Scope). When setting static IP addresses you need to assign one outside the DHCP scope. In a class C subnet the range of usable host addresses are :

    1-254

    If there is a DHCP scope set to hand out 2-150 then the available static IP addresses would be 151-254.

    The first three octets should be your subnet with a subnet mask of 255.255.255.0 on all devices. On most home routers this will be 192.168.1.0/24

    Haven't read through the link but brief review suggests this is what Chev65 is trying to say :)

    Josh
      My Computer


  7. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #7

    GRock84 said:
    "Make sure the range you specify is on your LAN, and out of the range served by your DHCP server"
    I dont entirely understand what this means. So say my local IP range is 192.168.1.1 through 192.168.1.256. Should I set the range as 192.168.1.200 through 256 or 10.0.0.1 through 10.0.0.256?



    I looked up the DHCP firmware settings for your router, it shows the starting local address as 192.168.0.2 then below that it says number of CPE's at 253, changing the 253 to 240 would give you 13 available IP's which are out of the DHCP range.


    Apparently the server IP needs to be entered correctly as well, this would be the IP address of the machine you are trying to connect with. You also need to port forward this same server IP in the routers settings but it looks like you did that.

    They also mention that the WAN or external IP is also required but didn't say where to enter it.

    I also found another tutorial that uses the DHCP setting during the VPN set up with an android App link called Save my SMS for the android that might help. There are also comments in the comments section that mention how to VPN using Windows 7 and android, one comment I quoted below.

    http://www.windows7library.com/blog/...ing-windows-7/

    May 11, 2012 at 6:50 pm
    FYI if you try to connect with android phone, there is a bug in the PPTP protocol that has been around for ages. Vote to get it fixed here: http://code.google.com/p/android/issues/detail?id=10901
    You can still connect if you:
    1. Open Incoming Connection Properties
    2. Select the USERS tab.
    3. Uncheck ‘Require all users to secure their passwords and data’
    Then, on your android vpn setup, in the PPTP details, uncheck ‘Enable Encryption’.
    I am not sure how much value your VPN has when the encryption is not enabled, so vote (see above) to get this fixed!
    Last edited by chev65; 29 Sep 2013 at 02:20.
      My Computer


  8. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #8

    Wow... okay so apparently all I had to do was enable PPP encryption via the android client. It was kinda one of those "what the hell, I've tried everything else" moments lol Thanks so much for all of your help.
      My Computer


  9. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #9

    GRock84 said:
    Wow... okay so apparently all I had to do was enable PPP encryption via the android client. It was kinda one of those "what the hell, I've tried everything else" moments lol Thanks so much for all of your help.
    I'm glad that worked because I was running out of options.

    Thanks for reporting back in.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:34.
Find Us