{"id":240,"date":"2023-01-22T10:59:54","date_gmt":"2023-01-22T10:59:54","guid":{"rendered":"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/?page_id=240"},"modified":"2025-01-11T23:11:46","modified_gmt":"2025-01-11T23:11:46","slug":"ikev2-windows-7","status":"publish","type":"page","link":"https:\/\/vpn.hamnet.network\/w\/ikev2-windows-7\/","title":{"rendered":"IKEv2 &#8211; Windows 7"},"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\u00a0<a href=\"https:\/\/vpn.hamnet.network\/cert\/hamcloud-vpn-root-ca.cer\">here<\/a>\u00a0and 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=\"136\" height=\"115\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-cert-download.png\" alt=\"\" class=\"wp-image-241\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Windows Start Button and type &#8220;cmd&#8221; into the search box.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"514\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-cmd.png\" alt=\"\" class=\"wp-image-242\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-cmd.png 410w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-cmd-239x300.png 239w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right click on &#8220;cmd&#8221; and select &#8220;Run as administrator&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"289\" height=\"125\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-cmdadmin.png\" alt=\"\" class=\"wp-image-243\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type the following command into the console to import the HamCloud Root Certificate (Replace &#8220;demo&#8221; with your current user name of the Windows 7 PC).<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>certutil -addstore \"Root\" \"c:\\users\\demo\\desktop\\hamcloud-vpn-root-ca.cer\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"675\" height=\"173\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-certutil.png\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-certutil.png 675w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-certutil-300x77.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep the console window open since another command needs to be executed after the VPN connection has been established.<\/li>\n<\/ul>\n\n\n\n<p><strong>The second step is to create a new VPN connection<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Windows Start Button, type &#8220;vpn&#8221; into the seach box and click on &#8220;Set up a virtual private network (VPN) connection&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"409\" height=\"78\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpn.png\" alt=\"\" class=\"wp-image-245\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpn.png 409w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpn-300x57.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use &#8220;ikev2.vpn.hamnet.network&#8221; as the &#8220;Internet address&#8221;, &#8220;HamCloud VPN&#8221; as the &#8220;Destination Name&#8221;, select &#8220;Don&#8217;t connect now; just set it up so I can connect later&#8221; and click &#8220;Next&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"456\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2025\/01\/win7-createvpnconnection.png\" alt=\"\" class=\"wp-image-351\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/win7-createvpnconnection.png 626w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/win7-createvpnconnection-300x219.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter User name and Password from your VPN credentials, select &#8220;Remember this password&#8221; and click &#8220;Create&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"458\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpncredentials.png\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpncredentials.png 626w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpncredentials-300x219.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Close the dialog.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"457\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpnclose.png\" alt=\"\" class=\"wp-image-248\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpnclose.png 626w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-setupvpnclose-300x219.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the network icon at the system tray.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"81\" height=\"40\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-systemtray.png\" alt=\"\" class=\"wp-image-249\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right click &#8220;HamCloud VPN&#8221; and 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=\"266\" height=\"422\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-systemtrayvpn.png\" alt=\"\" class=\"wp-image-250\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-systemtrayvpn.png 266w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-systemtrayvpn-189x300.png 189w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the tab &#8220;Security&#8221; and change the &#8220;Type of VPN&#8221; to &#8220;IKEv2&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"292\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesikev2-2.png\" alt=\"\" class=\"wp-image-254\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesikev2-2.png 375w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesikev2-2-300x234.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the tab &#8220;Networking&#8221;, click on &#8220;Internet Protocol Version 4 (TCP\/IPv4)&#8221; and 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=\"375\" height=\"345\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesipv4-1.png\" alt=\"\" class=\"wp-image-255\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesipv4-1.png 375w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesipv4-1-300x276.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on &#8220;Advanced&#8230;&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"352\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesadvanced.png\" alt=\"\" class=\"wp-image-256\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesadvanced.png 413w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesadvanced-300x256.png 300w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deselect &#8220;Use default gateway on remote network&#8221; and select &#8220;Disable class based route addition&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"269\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesroute.png\" alt=\"\" class=\"wp-image-257\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesroute.png 413w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-propertiesroute-300x195.png 300w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Close all dialogs with &#8220;OK&#8221;.<\/li>\n<\/ul>\n\n\n\n<p><strong>The next step is to establish the VPN connection:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the network icon at the system tray.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"81\" height=\"40\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-systemtray.png\" alt=\"\" class=\"wp-image-249\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select &#8220;HamCloud VPN&#8221; and click &#8220;Connect&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"265\" height=\"168\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connect.png\" alt=\"\" class=\"wp-image-258\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>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=\"355\" height=\"409\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connect2.png\" alt=\"\" class=\"wp-image-259\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connect2.png 355w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connect2-260x300.png 260w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the network icon at the system tray to check whether the connection has been established or not.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"266\" height=\"421\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connected.png\" alt=\"\" class=\"wp-image-260\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connected.png 266w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-connected-190x300.png 190w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/figure>\n\n\n\n<p><strong>The last step is to add the route to the HAMNET:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change back to the console window and type the following command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>netsh int ipv4 add route 44.128.0.0\/10 \"HamCloud VPN\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"674\" height=\"222\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-addhamnetroute.png\" alt=\"\" class=\"wp-image-261\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-addhamnetroute.png 674w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/win7-addhamnetroute-300x99.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><figcaption class=\"wp-element-caption\">The route is set &#8220;permanent&#8221; (survives a Reboot) and will be active while the VPN connection is established.<\/figcaption><\/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: The next step is to establish the VPN connection: The last step is to add the route to the HAMNET:<\/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-240","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/240","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=240"}],"version-history":[{"count":6,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/240\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/240\/revisions\/352"}],"wp:attachment":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/media?parent=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}