Set up a VPN Server in Windows Server 2012 R2 ( Client to Site )
Donate Us : paypal.me/MicrosoftLab
Set up a VPN Server in Windows Server 2012 R2 (Client to Site)
1. Prepare
– DC11 : Domain Controller (pns.vn), IP 10.0.0.11 | DC12 : File Server, IP 10.0.0.12 Gateway 10.0.0.13
– DC13 : VPN Server, IP 10.0.0.13 and 10.0.2.13 | WIN1091 : Client, IP 10.0.2.91 Gateway to 10.0.2.13
2. Step by step : Allow HiepIT vpn from WIN1091 to DC12
– DC11 : Allow HiepIT VPN from Internet
+ Server Manager – Tools – Active Directory Users and Computers – pns.vn – IT OU – Right-click HiepIT – Properties – Dial-in tab – Network Access Permission : Allow access
– DC12 : Create and share a new folder named Data
– DC13 : Install and configure the VPN Server
+ Turn off Firewall local : Start – wf.msc – Turn off all
+ Server Manager – Manage – Add Roles and Features – Next to Server Roles : Select “Remote Access”
– Next to “Role Services” : Select “DirectAccess and VPN (RAS)” and “Routing” – Add Features – Next to Install
+ Tools – Routing and Remote Access – Right-Click DC13 – Configure and Enable Routing and Remote Access – Next – Choose “Remote access (dial-up or VPN)”
– Remote Access : Select VPN – VPN Connections : Choose IP 10.0.2.13 (Card connect to Internet)
– IP Address Assignment : Choose “From a specified range of addresses” – Address Range Assignment : Click New…
– Start IP address : 10.0.10.100, End IP address : 10.0.10.200 – Next – Choose “No, use Routing and Remote…” – Finish – OK
– WIN1091 : Test connection via VPN
+ Right-Click icon card network – Open Network and Sharing Center – Set up a new connection or network – Connect to a workplace – Use my Internet connection (VPN)
– I’ll set up an Internet connection later – Internet address : 10.0.2.13 – Create – Change adapter settings – Right-Click VPN Connection – Properties
– Security tab – Type of VPN : Choose “Point to Point Tunneling Protocol (PPTP)” – OK – Right-Click VPN Connection – Connect / Disconnect – VPN Connection
– Connect – Type account HiepVPN – Connect success
+ Right-Click Start – Run – \10.0.0.12 – OK
windows server 2012