{"id":5124,"date":"2015-04-04T08:55:24","date_gmt":"2015-04-04T08:55:24","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=5124"},"modified":"2026-02-26T14:03:13","modified_gmt":"2026-02-26T14:03:13","slug":"creating-multiple-instances-on-a-dedicated-server-with-openvpn","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/","title":{"rendered":"Creating Multiple Instances with OpenVPN"},"content":{"rendered":"\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5132 aligncenter\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg\" alt=\"\" width=\"400\" height=\"400\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg 225w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn-150x150.jpg 150w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\r\n<p><span style=\"color: #000000;\">In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!<\/span><\/p>\r\n\r\n\r\n\r\n<p>Now we will see the configuration part:<\/p>\r\n\r\n\r\n\r\n<p>The only prerequisite is that this configuration uses a different DHCP range and a different port. It is necessary to change the following lines:<\/p>\r\n\r\n\r\n\r\n<p>&#8211; port 443<\/p>\r\n\r\n\r\n\r\n<p>&#8211; Server 10.9.0.0 255.255.255.0<\/p>\r\n\r\n\r\n\r\n<p>Left a configuration file for port 443 and right for port 80:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"283\" class=\"wp-image-5125\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-1-730x451.png\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-1-730x451.png 728w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-1-730x451-300x117.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p>So there would be no conflict between the two configuration files. Thereafter it will add new iptables to allow the new VPN NAT:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">iptables -t nat -A POSTROUTING -s 10.9.0.0\/24 -o eth0 -j MASQUERAD<\/pre>\r\n\r\n\r\n\r\n<p>Thereafter we can ensure that both configurations are functional:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"52\" class=\"wp-image-5126\" src=\"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-2.png\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-2.png 400w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/openvpn-multiple-conf-2-300x39.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p>With this configuration management, the management of your VPN will be more flexible!<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN! Now we will see the configuration part: The only prerequisite is that this&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[668],"class_list":["post-5124","post","type-post","status-publish","format-standard","hentry","category-general","tag-openvpn-multiple-instances"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating Multiple Instances with OpenVPN<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating Multiple Instances with OpenVPN\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2015-04-04T08:55:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"225\" \/>\n\t<meta property=\"og:image:height\" content=\"225\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"Creating Multiple Instances with OpenVPN\",\"datePublished\":\"2015-04-04T08:55:24+00:00\",\"dateModified\":\"2026-02-26T14:03:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/\"},\"wordCount\":112,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/logo_openvpn.jpg\",\"keywords\":[\"openvpn multiple instances\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/\",\"name\":\"Creating Multiple Instances with OpenVPN\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/logo_openvpn.jpg\",\"datePublished\":\"2015-04-04T08:55:24+00:00\",\"dateModified\":\"2026-02-26T14:03:13+00:00\",\"description\":\"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/logo_openvpn.jpg\",\"contentUrl\":\"https:\\\/\\\/bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/logo_openvpn.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Multiple Instances with OpenVPN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Multiple Instances with OpenVPN","description":"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/","og_locale":"en_US","og_type":"article","og_title":"Creating Multiple Instances with OpenVPN","og_description":"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!","og_url":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2015-04-04T08:55:24+00:00","article_modified_time":"2026-02-26T14:03:13+00:00","og_image":[{"width":225,"height":225,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"Creating Multiple Instances with OpenVPN","datePublished":"2015-04-04T08:55:24+00:00","dateModified":"2026-02-26T14:03:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/"},"wordCount":112,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg","keywords":["openvpn multiple instances"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/","url":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/","name":"Creating Multiple Instances with OpenVPN","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#primaryimage"},"thumbnailUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg","datePublished":"2015-04-04T08:55:24+00:00","dateModified":"2026-02-26T14:03:13+00:00","description":"In this tutorial, we will see how to create multiple instances on a dedicated server with OpenVPN!","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#primaryimage","url":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg","contentUrl":"https:\/\/bodhost.com\/kb\/wp-content\/uploads\/2015\/04\/logo_openvpn.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/creating-multiple-instances-on-a-dedicated-server-with-openvpn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"Creating Multiple Instances with OpenVPN"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=5124"}],"version-history":[{"count":7,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5124\/revisions"}],"predecessor-version":[{"id":12167,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5124\/revisions\/12167"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=5124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=5124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=5124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}