VPN - How To Setup VPN Server on XP Pro?

G

Guest

I'd like to use a computer running XP Pro as a VPN Server. Is this possible? We're using a peer-to-peer network for a small business and would like to connect on the road. I know how to establish a VPN connection once the VPN server is running

Thanks.
 
B

Bill Sanderson

Go to control panel, network connections, and "create a new connection."
advanced
incoming
hit next on the page listing your modem and parallel port
check off vpn
continue through the wizard.
As with other network connections, the users involved must have
passwords--there's a dialog box to set up users authorized for the incoming
connection.
 
B

Bill Sanderson

One key thing to mention--XP Pro is limited to a single VPN connection.

You may wish to visit the properties of TCP/IP on the VPN connection once it
is available, and change it to distribute IP's from a fixed pool--say 4
addresses on the same subnet as the rest of the lan, but outside the range
given out by any router or DHCP mechanism available.

Your router will need to forward port 1723 to the XP Pro machine acting as
VPN server.
 
G

Guest

Does changing the TCP/IP properties to a fixed pool like you say allow more than one computer to use VPN?

Also how do I forward ports on my router

----- Bill Sanderson wrote: ----

One key thing to mention--XP Pro is limited to a single VPN connection

You may wish to visit the properties of TCP/IP on the VPN connection once it
is available, and change it to distribute IP's from a fixed pool--say 4
addresses on the same subnet as the rest of the lan, but outside the range
given out by any router or DHCP mechanism available

Your router will need to forward port 1723 to the XP Pro machine acting as
VPN server
 
C

Chetan Raghavendra [MSFT]

Does changing the TCP/IP properties to a fixed pool like you say allow
more than one computer to use VPN?

No, even if it is configured for fixed pool, incoming connections supports
not more then one.

--
Thanks
Chetan
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.

Jonas said:
Does changing the TCP/IP properties to a fixed pool like you say allow
more than one computer to use VPN?
 
B

Bill Sanderson

No
I don't know--you haven't mentioned the make and model of your router, and
you are considerably closer to the manual for that device than I am!

(Seriously--I can go out on the web and find a PDF of many router manuals,
and read through them and figure this out, but you can too!--look for port
forwarding or "virtual server" terminology.)
 
B

Bill Sanderson

The reason I mention setting up a pool of 4 addresses is that these are used
by all the incoming devices--you can have one each of:

VPN, analog modem connection, IR connection, and Direct Cable Connection
(serial, parallel)

(and I'm not sure that's exhaustive, nor have I attempted to have all of
those at the same time on a single machine!)
 
B

Bill Sanderson

Absolutely!

One difficulty with this stuff is that the error message is simply "I can't
connect." And, of course, there are a number of reasons why one might not
be able to connect.

So--troubleshooting:

1) troubleshoot using Remote Desktop Connection executable--get this
working, then try the Web connection, if you absolutely need that ability.

2) If you are able to test whether RD is active and you have the credentials
right by using a second machine on the LAN (i.e. without going out over the
Internet) this eliminates one issue--RD not working right in the first
place.

3) Don't test by sitting at a second machine behind the router and putting
in the public IP address of the router. This often fails--many routers
don't handle this nicely.

3a) If you want to test from behind the router (i.e. sitting next to the
target machine)--do this by dialling out with an analog modem, and then
connecting with the public IP address of the target router. This works very
well, if you can manage it.

4) If you want/must test from a remote location, pick one without firewalls
or proxies. Don't pick your office at work, unless you know others are able
to make this work from their desks, or you know that there isn't a proxy or
firewall which might interdict the outbound traffic. Test from a friends
house, maybe.

5) You must know the public IP address of the router at the moment you test
the connection. If this address is dynamic--that is it changes--you can use
a Dynamic DNS service to track the changes once you decide to make regular
use of the facilty-- www.dyndns.org
At any given moment, going to http://whatismyip.com from the target XP Pro
host machine should give you the current IP.

6) Telnet testing:
http://support.microsoft.com/default.aspx?scid=kb;en-us;187628 shows how to
use Telnet to test an RDP connection. Substitute your IP address for tserv
and ignore the name resolution issues mentioned, unless you are testing
within a LAN.

If you know RD is active on the host machine, have forwarded the port in the
router correctly (port 3389, TCP)--have checked that the local IP address of
the host machine hasn't changed (i.e. the port is forwarded to the right
machine), and that you have the correct public IP address--we're stumped!

Possible issues are some other firewall mechanism--software on the host
machine, port blocked by the ISP (I've never seen a confirmed case of this).
Checking on whether the ICF Internet Connection Firewall is active on the
host machine is definitely in order. In the longer term, it is good
practice to run a firewall on every machine--so you may well have the
firewall active, with RD opened through it. The ICF firewall is found in
properties of the given network connection, advanced tab. Checkbox in upper
pane enables it, and settings button at the lower right allows control
settings.
 
G

Guest

I've already had success in getting VPN to function, I just can't get it to work through the router :( I hadn't heard of this particular port needing to be forwarded though (port 3389 TCP), so maybe this will help. Is there any other port I need to worry about that you know of

Thank
Lonni


If you know RD is active on the host machine, have forwarded the port in the
router correctly (port 3389, TCP)--have checked that the local IP address of
the host machine hasn't changed (i.e. the port is forwarded to the right
machine), and that you have the correct public IP address--we're stumped
 
J

Jeffrey Randow (MVP)

A PPTP-based VPN (the one most commonly setup) requires TCP Port 1723
and IP Protocol 47/GRE/PPTP Passthrough...

Jeffrey Randow (Windows Net. & Smart Display MVP)
(e-mail address removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
 
G

Guest

Mine is PPTP and I have made sure that TCP Port 1723 is forwarded to the host machine, but also that other port that Bill mentioned in previous posts in this thread. As far as I know/read, all I have to do is enable XP's ICF on the connection in question and the IP Protocol 47/GRE/PPTP is enabled automatically. If this is not true, please let me know how to enable it myself

Thank yo
Lonni

A PPTP-based VPN (the one most commonly setup) requires TCP Port 172
and IP Protocol 47/GRE/PPTP Passthrough..
 
B

Bill Sanderson

Lonnie - I wasn't thinking clearly about the subject header of the thread
when I made that reply.

For a PPTP VPN - you are correct that only TCP port 1723 is needed through
the ICF firewall. Opening 1723 in ICF takes care of the protocol 47 GRE
automatically.

So--please close port 3389, TCP--this isn't needed for a PPTP VPN
connection.

If you have TCP 3389 forwarded, but your VPN doesn't connect, have you
opened properties of the Incoming Connection, in Network Connections, and
verified that VPN is still enabled?

Are you certain you have the correct public IP address?
 
G

Guest

<<<< So--please close port 3389, TCP--this isn't needed for a PPTP VPN
connection. >>>

Ok done :) port 3389 is closed

<<<< If you have TCP 3389 forwarded, but your VPN doesn't connect, have you
opened properties of the Incoming Connection, in Network Connections, and
verified that VPN is still enabled? >>>

I closed port 3389, but 1723 is forwarded and VPN is still enabled

<<<< Are you certain you have the correct public IP address? >>>

I'm possitive that the IP address is correct. I check that all the time since I have DHCP addressing from my ISP rather than static. Also the VPN connection works without the router in the loop. I can map drives...everything without the router. I just don't have the security of the router without it connected, not to mention the multiple computer connection functionality of it

I would greatly appreciate anymore ideas you might have as to what is going on

Thank you for your hel

Lonni
 
B

Bill Sanderson

Can you recap the connection setup? I think you've done this before, but
lets do it again.

You mentioned ICF, so we gave details about ICF, which appear to be correct,
but at this point we need to look at the router.

What make/model of router is it? Have you forwarded port 1723, TCP through
it?

If it is a Linksys router,.look for a setting called PPTP Passthrough and
enable it.
 
G

Guest

I hope that this message gets through :) I already responded to it but don't see it here anywhere :

The router is a Linksys WRT54-G with the latest firware update of 2.02.2. Port 1723 is forwarded and the pptp passthrough is on by default, but I checked it anyway to make sure, and it is enabled

Thanks Bil

Any other ideas would be appreciated

Lonni


----- Bill Sanderson wrote: ----

Can you recap the connection setup? I think you've done this before, but
lets do it again

You mentioned ICF, so we gave details about ICF, which appear to be correct,
but at this point we need to look at the router

What make/model of router is it? Have you forwarded port 1723, TCP through
it

If it is a Linksys router,.look for a setting called PPTP Passthrough and
enable it
 
B

Bill Sanderson

I would ditch the XP firewall and go with just the Linksys, until you have
this working--I'm not sure what the interactions might be--seems like it
should work, but better to simplify for troubleshooting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top