{"id":179,"date":"2023-01-14T22:32:08","date_gmt":"2023-01-14T22:32:08","guid":{"rendered":"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/?page_id=179"},"modified":"2025-01-11T22:05:22","modified_gmt":"2025-01-11T22:05:22","slug":"ikev2-macos","status":"publish","type":"page","link":"https:\/\/vpn.hamnet.network\/w\/ikev2-macos\/","title":{"rendered":"IKEv2 &#8211; macOS"},"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\" data-type=\"link\" data-id=\"https:\/\/vpn.hamnet.network\/cert\/hamcloud-vpn-root-ca.cer\">here<\/a> and open it with &#8220;Keychain Access&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"137\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-import.png\" alt=\"\" class=\"wp-image-181\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-import.png 873w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-import-300x47.png 300w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-import-768x121.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add certificate to the Keychain &#8220;System&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"522\" height=\"297\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-add.png\" alt=\"\" class=\"wp-image-182\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-add.png 522w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-add-300x171.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In Keychain Access, choose System, select the Certificates tab and double-click the &#8220;HamCloud VPN Root CA&#8221; certificate.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"291\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-management.png\" alt=\"\" class=\"wp-image-183\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-management.png 866w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-management-300x101.png 300w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-management-768x258.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unfold &#8220;Trust&#8221; and change &#8220;IP Security (IPsec)&#8221; and &#8220;X.509 Basic Policy&#8221; to &#8220;Always Trust&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"503\" height=\"311\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust-all-users.png\" alt=\"\" class=\"wp-image-184\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust-all-users.png 503w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust-all-users-300x185.png 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The certificate is now shown as trusted.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"288\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust.png\" alt=\"\" class=\"wp-image-185\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust.png 866w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust-300x100.png 300w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-cert-trust-768x255.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<p><strong>The second step is to create a new VPN configuration<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add VPN configuration with type IKEv2 in the network system settings.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"360\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-new-vpn.png\" alt=\"\" class=\"wp-image-186\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-new-vpn.png 725w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-new-vpn-300x149.png 300w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create the VPN profile with the following data:\n<ul class=\"wp-block-list\">\n<li>Display Name: Hamcloud VPN<\/li>\n\n\n\n<li>Server address: ikev2.vpn.hamnet.network<\/li>\n\n\n\n<li>Remote ID: ikev2.vpn.hamnet.network<\/li>\n\n\n\n<li>Type: Username<\/li>\n\n\n\n<li>Username: &lt;enter username of VPN credentials&gt;<\/li>\n\n\n\n<li>Password: &lt;enter password of VPN credentials&gt;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"440\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2025\/01\/macOS-vpn-properties.png\" alt=\"\" class=\"wp-image-332\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/macOS-vpn-properties.png 619w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2025\/01\/macOS-vpn-properties-300x213.png 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/figure>\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 VPN icon.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"104\" height=\"37\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-inactive.png\" alt=\"\" class=\"wp-image-191\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the HamCloud VPN and activate it.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"107\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-disconnected.png\" alt=\"\" class=\"wp-image-192\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-disconnected.png 440w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-disconnected-300x73.png 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You are now connected to the HamCloud.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"445\" height=\"98\" src=\"https:\/\/vpn.hc.r1.ampr.org\/w\/test\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-connected.png\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-connected.png 445w, https:\/\/vpn.hamnet.network\/w\/wp-content\/uploads\/sites\/4\/2023\/01\/macOS-vpn-hamcloud-connected-300x66.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/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 configuration: Now the VPN connection can be used:<\/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-179","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/179","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=179"}],"version-history":[{"count":8,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/179\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/pages\/179\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/vpn.hamnet.network\/w\/wp-json\/wp\/v2\/media?parent=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}