StrongSwan: Difference between revisions
m →Miscellaneous Settings: Added to Windows 7 statement |
Changed to webp image |
||
| Line 18: | Line 18: | ||
We will be using the modern strongSwan VICI back-end, not the old stroke back-end. strongSwan is starting to phase the stroke back-end out. | We will be using the modern strongSwan VICI back-end, not the old stroke back-end. strongSwan is starting to phase the stroke back-end out. | ||
Commands under Windows with the [[File:Administrator_Shield. | Commands under Windows with the [[File:Administrator_Shield.webp]] icon may need administrator credentials to complete them. | ||
= Packages needed = | = Packages needed = | ||
| Line 245: | Line 245: | ||
* Double-click on the .p12 certificate file. | * Double-click on the .p12 certificate file. | ||
* On the first "Welcome to the Certificate Import Wizard" page, change the "Store Location" from Current User to Local Machine. | * On the first "Welcome to the Certificate Import Wizard" page, change the "Store Location" from Current User to Local Machine. | ||
* [[File:Administrator_Shield. | * [[File:Administrator_Shield.webp]] Click Next. | ||
* The file name provided should be OK. Click Next. | * The file name provided should be OK. Click Next. | ||
* In the password box, type the password you provided to generate the file earlier. Make sure the "Include all extended properties." check box is ticked. | * In the password box, type the password you provided to generate the file earlier. Make sure the "Include all extended properties." check box is ticked. | ||
| Line 267: | Line 267: | ||
* In the Internet address box, type your DNS name to your VPN server (thinkserver.freddythechick.net). | * In the Internet address box, type your DNS name to your VPN server (thinkserver.freddythechick.net). | ||
* In the Destination name box, give your profile a name of your choosing (Thinkserver). | * In the Destination name box, give your profile a name of your choosing (Thinkserver). | ||
* [[File:Administrator_Shield. | * [[File:Administrator_Shield.webp]] Make sure the "Allow other people to use this connection" tick box is checked. | ||
* Click Create. Your new profile will then be created. | * Click Create. Your new profile will then be created. | ||
| Line 277: | Line 277: | ||
* In the previous Network and Sharing Centre window, click "Change adapter settings" down the left hand side. | * In the previous Network and Sharing Centre window, click "Change adapter settings" down the left hand side. | ||
* There will be a new connection created here with the name you gave it earlier (Thinkserver). [[File:Administrator_Shield. | * There will be a new connection created here with the name you gave it earlier (Thinkserver). [[File:Administrator_Shield.webp]] Right click on the connection and click 'Properties'. | ||
* Click on the "Security" tab. | * Click on the "Security" tab. | ||
* Under the "Type of VPN" drop-down menu, change the type to IKEv2. The options under "Authentication" should change. Click and select the Use machine certificates radio button. Then click OK. | * Under the "Type of VPN" drop-down menu, change the type to IKEv2. The options under "Authentication" should change. Click and select the Use machine certificates radio button. Then click OK. | ||
| Line 287: | Line 287: | ||
Windows PowerShell is used to change the encryption settings for the VPN connection. This only works on Windows 10 machines as these support the newer ciphers whereas Windows <10 does not support them so well. | Windows PowerShell is used to change the encryption settings for the VPN connection. This only works on Windows 10 machines as these support the newer ciphers whereas Windows <10 does not support them so well. | ||
* In the Start menu, type "powershell". [[File:Administrator_Shield. | * In the Start menu, type "powershell". [[File:Administrator_Shield.webp]] Click "Windows PowerShell" when it appears. It may take a few moments for the prompt to be appear and become ready to use. | ||
* The following code snippet needs to be typed in to change the encryption settings for the VPN settings | * The following code snippet needs to be typed in to change the encryption settings for the VPN settings | ||
Set-VpnConnectionIPsecConfiguration -ConnectionName "VPN Connection" -AuthenticationTransformConstants GCMAES256 -CipherTransformConstants GCMAES256 -EncryptionMethod GCMAES256 -IntegrityCheckMethod SHA384 -DHGroup ECP384 | Set-VpnConnectionIPsecConfiguration -ConnectionName "VPN Connection" -AuthenticationTransformConstants GCMAES256 -CipherTransformConstants GCMAES256 -EncryptionMethod GCMAES256 -IntegrityCheckMethod SHA384 -DHGroup ECP384 | ||