{"id":3035,"date":"2020-02-25T13:17:36","date_gmt":"2020-02-25T19:17:36","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3035"},"modified":"2020-02-25T13:17:37","modified_gmt":"2020-02-25T19:17:37","slug":"openvpn-on-mikrotik-router","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/openvpn-on-mikrotik-router\/","title":{"rendered":"OpenVPN on Mikrotik  Router"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Create Certificate<\/h2>\n\n\n\n<p>Can look <a href=\"https:\/\/www.incredigeek.com\/home\/create-certificate-on-mikrotik-winbox\/\">here<\/a> to set a certificate up in Winbox<br>or <a href=\"https:\/\/www.incredigeek.com\/home\/create-certificate-on-mikrotik-command-line\/\">here<\/a> to configure from command line<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable OpenVPN server<\/h2>\n\n\n\n<p>To setup a OpenVPN server on a router there are a few things that need to be done.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create certificates (See top of post)<\/li><li>Create IP pool for clients to use<\/li><li>Configure default-encryption profile<\/li><li>Create User<\/li><li>Configure OpenVPN server <\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Create IP Pool<\/h2>\n\n\n\n<p>Create an IP pool that clients can pull and address from when they connect<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"352\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-12.png\" alt=\"\" class=\"wp-image-3054\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-12.png 440w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-12-300x240.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-12-375x300.png 375w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption>Setup VPN IP pool<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Modify Profiles<\/h2>\n\n\n\n<p>Modify the default-encryptoin Profile and specify the VPN IP pool.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"526\" height=\"647\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-13.png\" alt=\"\" class=\"wp-image-3055\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-13.png 526w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-13-244x300.png 244w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><figcaption>Specify IP pool in profile<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Create User<\/h2>\n\n\n\n<p>Create new user, specify the default-encryptio profile<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"526\" height=\"647\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-14.png\" alt=\"\" class=\"wp-image-3056\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-14.png 526w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-14-244x300.png 244w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><figcaption>Create VPN user<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Turn OVPN Server on<\/h2>\n\n\n\n<p>Enable the OVPN server.  Specify the &#8220;Default Profile:&#8221; to be the default-encyption, specify the certificate to be the server-template, or whatever the name is of the certificate you created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"526\" height=\"647\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-16.png\" alt=\"\" class=\"wp-image-3058\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-16.png 526w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/02\/image-16-244x300.png 244w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><figcaption>Enable OpenVPN server<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Create Certificate Can look here to set a certificate up in Winboxor here to configure from command line Enable OpenVPN server To setup a OpenVPN server on a router there are a few things that need to be done. Create &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/openvpn-on-mikrotik-router\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[452],"tags":[301,921,925,388,500,924],"class_list":["post-3035","post","type-post","status-publish","format-standard","hentry","category-mikrotik","tag-mikrotik","tag-openvpn","tag-ovpn","tag-routeros","tag-server","tag-vpn"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3035"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3035\/revisions"}],"predecessor-version":[{"id":3060,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3035\/revisions\/3060"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}