{"id":90,"date":"2023-01-06T20:33:06","date_gmt":"2023-01-06T20:33:06","guid":{"rendered":"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/?page_id=90"},"modified":"2025-01-11T22:47:56","modified_gmt":"2025-01-11T22:47:56","slug":"ikev2-windows-10","status":"publish","type":"page","link":"https:\/\/vpn.hamnet.network\/w\/ikev2-windows-10\/","title":{"rendered":"IKEv2 &#8211; Windows 10"},"content":{"rendered":"\n\n\n<p><strong>The first step is to import the root certificate of the HamCloud VPN server:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download the root certificate <a href=\"https:\/\/vpn.hamnet.network\/cert\/hamcloud-vpn-root-ca.cer\">here<\/a> and save it to the desktop.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"105\" height=\"137\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-download.png\" alt=\"\" class=\"wp-image-92\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double click the certificate &#8220;hamcloud-vpn-root-ca.cer&#8221; on the desktop.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"515\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-1-1.png\" alt=\"\" class=\"wp-image-93\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-1-1.png 405w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-1-1-236x300.png 236w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Install Certificate&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-2-1.png\" alt=\"\" class=\"wp-image-94\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-2-1.png 535w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-2-1-300x293.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;Local Machine&#8221; and click on &#8220;Next&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-3-1.png\" alt=\"\" class=\"wp-image-95\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-3-1.png 535w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-3-1-300x293.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;Place all certificates to the following store&#8221; and click &#8220;Browse&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"263\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-4-1.png\" alt=\"\" class=\"wp-image-96\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;Trusted Root Certification Authorities&#8221; and click &#8220;OK&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-5-1.png\" alt=\"\" class=\"wp-image-97\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-5-1.png 535w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-5-1-300x293.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Next.&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-6-1.png\" alt=\"\" class=\"wp-image-98\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-6-1.png 535w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-6-1-300x293.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Finish.&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"232\" height=\"152\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/cert-import-7.png\" alt=\"\" class=\"wp-image-99\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;OK&#8221; and close the certificate with &#8220;OK&#8221;.<\/li>\n<\/ul>\n\n\n\n<p><strong>The second step is to create a new VPN connection using Powershell:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Windows Start icon, type &#8220;powershell&#8221; and then launch the Windows PowerShell app.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"213\" height=\"135\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/open-powershell.png\" alt=\"\" class=\"wp-image-100\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter the following commands (preferably using copy &amp; paste [control + v]) and execute with Enter:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Add-VPNConnection -Name \"HamCloud VPN\" -ServerAddress \"ikev2.vpn.hamnet.network\" -TunnelType \"Ikev2\" -RememberCredential -SplitTunneling -EncryptionLevel Maximum -Force\n\nAdd-VpnConnectionRoute -ConnectionName \"HamCloud VPN\" -DestinationPrefix \"44.128.0.0\/10\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"177\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2025\/01\/powershell.png\" alt=\"\" class=\"wp-image-343\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/powershell.png 859w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/powershell-300x62.png 300w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/powershell-768x158.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Close the window.<\/li>\n<\/ul>\n\n\n\n<p><strong>The third step is to adjust the VPN connection so that only packets to the HAMNET use the VPN connection:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Windows Start icon, type &#8220;ncpa.cpl&#8221; and then open the Control Panel.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"161\" height=\"143\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/open-network-control.png\" alt=\"\" class=\"wp-image-102\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right click on the &#8220;HamCloud VPN&#8221; connection.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"189\" height=\"59\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn.png\" alt=\"\" class=\"wp-image-103\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;Properties.&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"249\" height=\"214\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties.png\" alt=\"\" class=\"wp-image-104\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the &#8220;Networking&#8221; tab, select the &#8220;Internet Protocol Version 4 (TCP\/IPv4)&#8221; item and click &#8220;Properties&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"475\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-1.png\" alt=\"\" class=\"wp-image-105\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-1.png 363w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-1-229x300.png 229w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Advanced&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"455\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-2.png\" alt=\"\" class=\"wp-image-106\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-2.png 400w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-2-264x300.png 264w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;Disable class based route addition&#8221; and click &#8220;OK&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"488\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-3.png\" alt=\"\" class=\"wp-image-107\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-3.png 400w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/network-hamcloud-vpn-properties-3-246x300.png 246w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click &#8220;OK&#8221; another 2x and then close the &#8220;Network Connections&#8221; control panel again.<\/li>\n<\/ul>\n\n\n\n<p><strong>The last step is to save the username and password for the VPN connection:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Windows Start icon, enter &#8220;vpn&#8221; and then open &#8220;VPN settings&#8221; under the settings:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"63\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/vpn-einstellungen.png\" alt=\"\" class=\"wp-image-108\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the connection &#8220;HamCloud VPN&#8221; and click on &#8220;Advanced options&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"202\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/vpn-einstellungen-1.png\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/vpn-einstellungen-1.png 352w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/vpn-einstellungen-1-300x172.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Customize the connection properties by clicking on &#8220;Edit&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"379\" height=\"294\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings.png\" alt=\"\" class=\"wp-image-345\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings.png 379w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings-300x233.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter the username and password, then click &#8220;Save&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"817\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings2.png\" alt=\"\" class=\"wp-image-347\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings2.png 554w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/vpn-settings2-203x300.png 203w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Close the window in the upper right corner by clicking on &#8220;X&#8221;.<\/li>\n<\/ul>\n\n\n\n<p><strong>Now the VPN connection can be used:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the network icon in the Windows taskbar.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"33\" height=\"28\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/windows-network.png\" alt=\"\" class=\"wp-image-112\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the connection &#8220;HamCloud VPN&#8221; and click on &#8220;Connect&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"136\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/windows-hamcloud-vpn.png\" alt=\"\" class=\"wp-image-113\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/windows-hamcloud-vpn.png 351w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/windows-hamcloud-vpn-300x116.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The first step is to import the root certificate of the HamCloud VPN server: The second step is to create a new VPN connection using Powershell: The third step is to adjust the VPN connection so that only packets to the HAMNET use the VPN connection: The last step is to save the username and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-90","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":10,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/90\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/90\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/media?parent=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}