Pages

Sunday, May 13, 2012

Install and Configure Remote access server for VPN on Windows Server 2008

Install and Configure Remote access server for VPN on Windows Server 2008

  • Before we need to setting up VPN server need to install ADDS, DNS and DHCP role for that Server.

  • Need to install Network Policy and access services on Windows Server 2008 as following,






  • Make Sure select to Network policy server and Routing and remote access service while installing Network and access services. After finished installation we can see as follows,




  • Then Goto Start > Administrative Tools > Routing and Remote Access
  • Then Configure and Enable Remote Access as follows,
 



  • Select Custom Configuration




  • Select VPN  from the tick boxes,




  • Once configured and enabled remote access server setup, click on local server icon on Routing and Remote Access console, Then Goto IPv4 and add a scope for VPN Clients. If you add static range for VPN clients you can add a range out of your DHCP server scope because it would be helped to identify VPN clients from local users easily.



  • Then Goto Users and Computers in a ADDS click the user that you want to login into your vpn server then click Properties and goto Dialin tab and tick Allow access and Apply. you can do same thing by creating a NPS polciy using Routing and Remote Access management console.
  • Then login to your router console that connect to internet for creat port forwarding to vpn server. you need to forward pptp port number 1723 to your newly created vpn server.
  • done the server side tasks. now you need to create vpn client by logging into your client machine as follows,


Create VPN Client on Windows 7

  • Logging into Windows 7 client
  • Goto Control > Network and Sharing Centre
  • Click Setup a new connection or network > Connect to workplace > Use my Internet Connection (VPN)
  • Here you need to give public ip address of your VPN Server. (That is the address we use for connect to internet, Ex: 94.168.245.72)
  • Once established the VPN connection you can ping to the server ip address and check the connection or connect to vpn server by remotely.