Setup VPN Windows 10 and DC
This document will show you how to setup a VPN to a badjr managed network with a domain controller from a windows 10 workstation. These instructions are aimed at the IT professional (And Badjr Partner) who is setting up his client's VPN connection so certain obvious steps will be ommitted.
Add the VPN
- In the Settings page, click VPN on the left hand side
- Then click “Add a VPN Connection”
- Name the Connection
- The server name is available on the Unity site page for this site. (e.g. site.itcompany.badjr.live)
- For VPN Type, The Badjr officially recommends L2TP/IPSec with pre-shared key, but you can select PPTP or SSTP.
- L2TP/IPSec will be demonstrated here
- You will need the following from the VPN page of your Site on Unity
- Pre-shared key
- Username
- Password
- Then “Save”
- If you do not have a Domain Controller, this is all that is required.
Adding a Domain Controller
If the client has a domain controller on site, you will need to perform a number of further steps to ensure the domain works correctly over the VPN.
- Go to underlying connection properties by;
- Right click on the connection you just created
- Select “Properties”
- Choose “Networking” Tab
- Select “Internet Protocol Version 4 (TCP/IPv4)” and Click “Properties”
- Click “Advanced”
- Change the Metric of the VPN by
- Change the interface metric to 1
- Why? This prioritizes the VPN as the default network to do DNS lookups, important for resolving hostnames to the network at the office.
- Setup DNS by
- Set the “DNS suffix for this connection” to the domain name of the network
- Check the “Register this connection's addresses in DNS” checkbox
- Check the “Use this connection's DNS suffix in DNS registration” checkbox
- Setup WINS by
- Open CMD and run __ipconfig /flushdns
- Restart the machine