Monday, September 1, 2014

Installing remote access services and setting up a VPN Server 2003 R2

Installing remote access services and setting up a VPN.
Client system.
OS:Vista
Name:WIN-AUON538ZAG6
IP:10.10.10.1
VPN Server.
OS:Server2003
Name:VPN
IP:
Internal:192.168.1.103
External:10.10.10.2
Domain Controller.
OS:Server2003
Name:KING
IP:192.168.1.150
Shares:\\vpn Share
Server 2003 will be used to allow access remotely to the office using a VPN.
There are 2 NICs on the server one Internal the Other External and will be used to accept connection for VPN users.
The Internal network will consist of a Domain Controller with a simple share 
\\vpn share
First we will join the VPN server to the domain.
and configure the internal and external ip address.
Open the Configure your Server Wizard and select the Remote Acess/VPN role.

Select VPN network access and NAT.

Select the External adapter.

Set the DHCP scope for VPN users so you can monitor VPN users easily.
192.168.1.80 – 90
User Routing and Remote Access to authenticate.

Finish the installation.

Setting up the Client

On the Vista machine open network connections and Connect to new network.
Select Connect to workplace.

Select use my internet connection (VPN)

Enter the ip address of the External VPN server.
10.10.10.2
And the destinations name

Click connect to network
Login using your domain credentials.

Move to the VPN Server and open Routing and Remote Access console.

You can see there is 1 client connected
192.168.1.82
and the Vista client now has internet connectivity through the VPN.
From the Client computer i can see that i am now connected to the internet through the VPN.
Because i am Domain admin i can see all shares present on KING and the vpn share available to VPN users.
With no VPN connection there is no internet connection or access to the \\KING shares.