The process for setting up a PPTP VPN in Server 2012 with 1 network card is very similar to that of Server 2008 R2. Please be aware that PPTP is vulnerable to dictionary attack and should be considered unencrypted. There is a great post explaining why here.
Server Side (Server 2012)
- Head to Server Manager, click on Manager, Add Roles and Features
- Role-based or feature-based installation
- Make sure the server you want to install the RRAS role is selected
- Select Remote Access
- View items and click add features
- Next as you do not need to add any features
- Tick DirectAccess and VPN (RAS)
- This shows the Role services which are requested and then added
- When the feature installation is complete click close
- Select Remote Access in Service manager
- Right click the Server with the Remote Access role install and choose Remote Access Management
- Select Run the Getting Started Wizard
- Select Deploy VPN Only, the familiar RRAS console will appear
- Right click the server and choose configure and enable routing and remote access
- If you select "Remote Access" give the following error "Less than two network interfaces were detected on this machine. For standard VPN server configuration at least two network interfaces need to be installed
- Select Custom Configuration to get around this, then select VPN Access, folow it through to the end
- Right click Routing and remote access and select properties
- Browse to the IPv4 tab and assign a static pool of IPs for the remote clients
- Now load up ADUC (Active Directory Users and Computers) and double click the user you wish to give access
- Select the Dial-in tab and set the Network Access permission to Allow Access
Switch to 720 for a better experience.
http://www.youtube.com/watch?v=I67MD6Vjfvg
Client Side (Windows 8)
- Tap the Winkey and type VPN, press the down arrow and enter, select Set up a virtual private network (VPN) connection
- Type the IP of the server hosting the PPTP VPN server (or more likely the public address forwarding to the PPTP Server) and give the connection a name
- Click on the network icon in the tray, right click the PPTP connection and choose view connection properties
- Head to the Security tab and select PPTP (Windows will work this out if you don't, so it's not really that necessary
- Go to Networking, IPv4, Properties, Advanced and unselect Use default gateway on remote computer
- Click the network icon in the tray, select the PPTP VPN connection and collect
- Type your credentials
- In the video I typed ncpa.cpl to get quick access to the connection details, note I was allocated one of the IPs from the pool we configured on the PPTP server
- You should be good to go!
Switch to 720 for a better experience.
http://www.youtube.com/watch?v=m2C32HUvFxg
Networking
- Enable forwarding for TCP Port 1723 (PPTP) to your Windows 2012 Server
- The firewall must support GRE
The post Server 2012 PPTP VPN With 1 NIC appeared first on The Sysadmins.