System environment: Windowsserver2008r2enterprise (fully installed)
1, Configuration preparation work
1.1, click on the "Start" to the right "Server Manager"
1.2, click "Role" in "Server Manager"
1.3, in the "role" click on the right to select the translation "Add Role", click "Next"
1.4, in the "role" select "Network Policy and Access Services", click "Next"
1.5, click "Next"
1.6. Select the Routing and Remote Access service
1.7, click "Install"
2. Configure the VPN server
2.1, click "Role"-"network Policy and Access Services"-"Routing and Remote Access"
2.2. Right-click "Configure and Enable Routing and Remote Access" on "Routing and Remote Access" and tap "Next"
2.3, select the "Custom Configuration" click "Next"
2.4, select "VPN Access" and "NAT" click "Next"
2.5, the configuration successfully clicked "Complete", appear prompts "Start service" click "Start Service".
3, now configured with NAT:
3.1, on the "Routing and Remote Access"-"IPv4"-"NAT" right click on the "New Interface"
3.2, in the interface to select your extranet interface, I am here is the local connection, click "OK" pop-up properties.
3.3, where you select the "public interface to connect to the Internet"-"Enable NAT on this interface", click OK.
3.4, on Routing and Remote Access, right-click to select Properties
3.5, select "IPv4" in the pop-up window-"Static address pool" Click "Add"
3.6, enter "172.16.0.1" in "Start IP address" , "End IP Address" Enter "172.16.0.254" click "OK"
3.7, click "OK", now assigned to the user of the IP address segment has been configured well. When the
VPN server is configured successfully, an account connection is also required. Here I recommend the use of PCVPN management system, because the PCVPN management system is designed for the management of VPN users, you can set the number of VPN user connections, VPN user speed limit, set the VPN user expiration time and other functions, to achieve your easy management of VPN users. Of course, you can also use the system to manage VPN users with their own.
4, configure the VPN Connection account number:
4.1, click "Configuration"-"Local Users and Groups"-"users"
4.2, "Users" right click on "New User", enter "user name" and "Password" in the selected translation "user can not change password" and " Password never Expires ", click" Create ", click" Close "
4.3, double-click the newly added user" Pcvpn "pop-up" Properties "window
4.4, pop-up" Properties "select" Dial-in "-" Network access rights "-" Allow access "click" OK "
Now that the VPN server is fully configured, you can use the added user to log on to the VPN server.