Setting up VPN server with windows 7 ultimate

iphonevpnwindows 7

I'm just trying to do a quick test of a VPN set up for testing some software on. I am setting up a VPN using the "New Incoming Connection" option in "Network Connections".

It seems to set up fine but I'm having real trouble connecting to it.

So far I've tried connecting to it from an iPhone and another Win 7 machine.

The iPhone does pretty well but doesn't seem to be able to authenticate. If i check the system log I can see an error 812 "The connection was prevented because of a policy configured on your RAS/VPN server [etc]". Does anyone know what that policy is and how I can get my iPhone to connect to the machine?

The win 7 machine never even gets that far. I get an error in the system log of "The user [blah] connected to port VPN3-1 has been disconnected because no network protocols were successfully negotiated"

So does anyone know how to solve this? I'd really like to be able to test something with the iPhone connected to my LAN via 3G and I thought this would be an "easy" solution. It seems not 🙁

Any help would be much appreciated!

Edit: Interestingly I thought I'd give it a burn at home on ym XP laptop. Strangely when I connect to the machine via the network local ip then all is good. The moment I try to connect via my public IP (with NAT setup for port 1723) then the authentication is timing out on both my android phone AND my iPhone.

Interestingly I was testing this out at work by connecting via the public IP address.

Are there other ports I need to open up?

Best Answer

I didn't have any problem setting this up on a Win7 box and connecting from a W2K3 client with the default settings on both the Win7 box and the W2K3 box. Are you authenticating as a user on the Win7 box? Are you using DHCP to allocate an ip address to the VPN client? If so, do you have a DHCP server on the LAN that can service the client (via the Win7 machine)? Do you have the same network protocol bound to the Win7 incoming connection and the VPN client (TCP\IP)?