Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 server to Android VPN client not connecting


27 Sep 2013   #1

Windows 7 Home Premium 64-bit
 
 
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 System SpecsSystem Spec
.

28 Sep 2013   #2

Windows 7 Ult, Windows 8.1 Pro,
 
 

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

How to: Windows 7 incoming VPN from Android Damian's Blog
My System SpecsSystem Spec
28 Sep 2013   #3

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
.


28 Sep 2013   #4

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by GRock84 View Post
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 System SpecsSystem Spec
28 Sep 2013   #5

Windows 7 Home Premium 64-bit
 
 

Quote:
"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 System SpecsSystem Spec
28 Sep 2013   #6

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by GRock84 View Post
Quote:
"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 System SpecsSystem Spec
28 Sep 2013   #7

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by GRock84 View Post
Quote:
"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!
My System SpecsSystem Spec
28 Sep 2013   #8

Windows 7 Home Premium 64-bit
 
 

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 System SpecsSystem Spec
28 Sep 2013   #9

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by GRock84 View Post
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 System SpecsSystem Spec
Reply

 Windows 7 server to Android VPN client not connecting




Thread Tools




Our Sites

Site Links

About Us

Find 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 11:06 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33