FireBrick Road Warrior Windows 10: Difference between revisions

Back up to the FireBrick Road Warrior Category Page
From AAISP Support Site
Line 81: Line 81:
Set-VpnConnection -Name "vpnname" -SplitTunneling $False
Set-VpnConnection -Name "vpnname" -SplitTunneling $False


<gallery heights=200 mode="packed" caption="Screenshots of configuring the VPN on Windows 10">
<gallery>
IPsec-Win10-powershellVPN.PNG|Disabling SplitTunneling on Windows 10 via PowerShell
IPsec-Win10-powershellVPN.PNG|Disabling SplitTunneling on Windows 10 via PowerShell
</gallery>
</gallery>

Revision as of 11:30, 5 August 2015

Windows setup

The following instructions were tested on a Windows 10 system. Setup on other versions of Windows will be similar, but the dialogs and messages seen may not be exactly as shown here.

The CA certificate needs to be installed on the Windows machine using an account with administrator privileges.

First, download the CA certificate in DER format to the Windows machine. The easiest way to do this is to use a browser to visit your FireBrick certificate management page, and click on the Download DER link corresponding to the CA certificate. Save it in a suitable location on the Windows machine. Note that you must download the certificate in DER format - windows machines do not recognize PEM format. The file will be given the .crt extension.

Install the certificate

  1. Download DER format
  2. Click on the file, you may get a Warning (see screenshot)
  3. The certificate will be opened, Click install certificate
  4. The 'Welcome to the Certificate Import Wizard' screen opens, select Local Machine, then Next (see screenshot)
  5. You will be prompted to enter in the Administrator password of the computer, do this.
  6. Select ' Place all certificates in the following store' (see screenshot)
  7. Click Browse
  8. Select 'Trusted Root Certification Authorities', click OK. (see screenshot)
  9. You'll now be back at the screen you were on previously, Click Next (see screenshot)
  10. The 'Completing the Certificate Import Wizard' screen shows, Click Finish (see screenshot)
  11. A little window pops up saying 'The import was successful' (see screenshot)

Configure the VPN

  1. Click the Start/Windows icon
  2. Go to Settings (see screenshot)
  3. Click 'Network & Internet'
  4. Click VPN (see screenshot)
  5. Click 'Add a VPN connection'
  6. Enter in the VPN settings eg: (see screenshot)
    • VPN Provider: Windows (built in)
    • Connection name: (What ever you like, eg Office)
    • Server name or address: The IP or host name of your FireBrick
    • VPN type: IKEv2
    • Type of sign-in info: Username and password
    • Username & Password (as set up on the FireBrick). This is optional, you can leave blank and Windows will prompt you for this information each tie you connect.
  7. Click OK
  8. Your VPN connection will now be added (see screenshot)

Connect

You should now be ready to connect - There are a few ways to connect, the easiest is to click on the Network icon near the clock, and the VPN connection should be at the top of the list. Otherwise, you can connect via:

Start/Windows icon -> Settings -> Network & Internet -> VPN

If not already saved, you'll use the username and password as set up in the EAP Identity on the FireBrick (in this example, we had set up a user of fred with a password)

You probably want to change the type of network to Work Network after the connection establishes.


Windows not setting the VPN as the gatweway?

On our Windows 10 machine, the VPN connected, but traffic was still going out via our normal network connection and not over the IPsec VPN. eg, a tracert shows traffic going via our local router and not over the VPN.

Others seem to have the problem, eg [[1]] and [[2]], but those post are about preview releases and our Windows 10 is the final release. The button isn't grayed out on our case, it just does nothing when clicked!

Load PowerShell via:

Start/Windows button -> type: PowerShell -> Click on 'Windows PowerShell Desktop app'
Get-VpnConnection
Set-VpnConnection -Name "vpnname" -SplitTunneling $False