FireBrick Road Warrior Windows 7: Difference between revisions
m (→Windows 10) |
m (→Windows 10) |
||
Line 57: | Line 57: | ||
=Windows 10= |
=Windows 10= |
||
==Install the certificate== |
|||
#Download DER format |
#Download DER format |
||
#Click on the file, you may get a Warning (see screenshot) |
#Click on the file, you may get a Warning (see screenshot) |
||
Line 68: | Line 68: | ||
# The 'Completing the Certificate Import Wizard' screen shows, Click Finish (see screenshot) |
# The 'Completing the Certificate Import Wizard' screen shows, Click Finish (see screenshot) |
||
#A little window pops up saying 'The import was successful' (see screenshot) |
#A little window pops up saying 'The import was successful' (see screenshot) |
||
==Configure the VPN== |
|||
#Click the Start/Windows icon |
|||
#Go to Settings (see screenshot) |
|||
#Click 'Network & Internet' |
|||
#Click VPN (see screenshot) |
|||
#Click 'Add a VPN connection' |
|||
#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. |
|||
*Click OK |
|||
#Your VPN connection will not be added |
|||
==Connect== |
|||
Revision as of 08:51, 5 August 2015
Windows setup
The following instructions were tested on a Windows 7 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. Do not attempt to execute it or install it just yet. 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.
Start the Windows Certificate Manager
The Windows certificate manager should now be started up as follows:
- Using a command window, or the Start|Run box, execute the command mmc (and answer Yes when asked if you want to allow changes).
- Select Add/Remove Snap-in from the File menu, choose the Certificates snap-in and add it to selected snap-ins.
- A dialog will ask if you want to manage certificates for the user account, a service account or computer account. You must select Computer Account here in order to manage the system certificates. If you do not select this, or you start up the certificate manager in some other way (eg using certmgr.msc, you will not be able to install the certificate system-wide, and the Windows IPsec subsystem will not find it.
- Another dialog will ask which computer to manage. Choose Local computer.
- Finally click on OK to start the certificate manger snap-in.
Install the CA certificate
To install the certificate:
- Double-click on Certificates (Local Computer) in the left pane, to open the certificate store names, and then right-click on Trusted Root Certification Authorities in the centre pane.
- Select All Tasks and then Import...
- Click Next and browse to where you saved the CA .crt file.
- Click Next and check that the certificate will be placed in the trusted root store.
- Click Next again, and then Finish.
There - wasn't that easy! Thank you Microsoft.
Set up the VPN Network Connection
Now you need to set up the IPsec network connection details.
- Go to Control Panel and select Set up a new connection or network.
- Select Connect to a Network and choose Connect to a Workplace.
- Click Next, select No, create a new connecton, Next
- Choose Use my Internet connection
- Insert the server name (eg server.example.com), and choose whatever you like to name the connection (Destination name).
- Select Don't connect now; ...
- You don't need to enter User name and password as it will ask again later
- Click on Create and then Close (Don't connect yet!)
- Back at the Network and Sharing Center dialog, select Connect to a network
- Right-click the connection you have just created in the pop-up box and select Properties
- Select the Security tab, and change the Type of VPN to IKEv2.
- EAP-MSCHAPv2 should already be selected.
- Click OK
You should now be ready to connect - select Connect to a network again, click on the connection and choose Connect. 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 10
Install the certificate
- Download DER format
- Click on the file, you may get a Warning (see screenshot)
- The 'Welcome to the Certificate Import Wizard' screen opens, select Local Machine, then Next (see screenshot)
- You will be prompted to enter in the Administrator password of the computer, do this.
- Select ' Place all certificates in the following store' (see screenshot)
- Click Browse
- Select 'Trusted Root Certification Authorities', click OK. (see screenshot)
- You'll now be back at the screen you were on previously, Click Next (see screenshot)
- The 'Completing the Certificate Import Wizard' screen shows, Click Finish (see screenshot)
- A little window pops up saying 'The import was successful' (see screenshot)
Configure the VPN
- Click the Start/Windows icon
- Go to Settings (see screenshot)
- Click 'Network & Internet'
- Click VPN (see screenshot)
- Click 'Add a VPN connection'
- 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.
- Click OK
- Your VPN connection will not be added