{"id":5476,"date":"2016-10-26T03:10:55","date_gmt":"2016-10-26T03:10:55","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=5476"},"modified":"2021-02-02T09:54:57","modified_gmt":"2021-02-02T09:54:57","slug":"create-openvpn-server-centos-6-x","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/","title":{"rendered":"How to create OpenVPN server on CentOS 6.X"},"content":{"rendered":"<p><span style=\"color: #000000;\">In this tutorial I will guide you how to install OpenVPN on CentOS server.<\/span><!--more--><\/p>\n<h3><span style=\"color: #000000;\">PREREQUISITE:<\/span><\/h3>\n<ol>\n<li><span style=\"color: #000000;\">A VPS or Dedicated server with <a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-install-linux-apache-mysql-php-on-centos-6-x\/\">CentOS 6.x<\/a><\/span><\/li>\n<li><span style=\"color: #000000;\">A good knowledge to use <a href=\"https:\/\/cpanelplesk.com\/wp62\/using-putty-connect-server-ssh-windows\/\">Putty<\/a>, SSH and common Linux command<\/span><\/li>\n<li><span style=\"color: #000000;\">For those VPS based-on OpenVZ virtualization (other skip this): please enable <\/span><\/li>\n<li><span style=\"color: #000000;\">TUN\/TAP options in your VPS control panel (e.g: SolusVM).<\/span><\/li>\n<\/ol>\n<h2><span style=\"color: #000000;\">How to install OpenVPN to build CentOS VPN Server:<\/span><\/h2>\n<p><span style=\"color: #000000;\"><strong>Step 1-<\/strong> Login to your server via SSH<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 2-<\/strong> Now run the below command:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel \r\nopenssl-devel -y<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 3-<\/strong> Now download LZO RPM and Configure RPMForge Repo. Use wget command:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>wget http:\/\/openvpn.net\/release\/lzo-1.08-4.rf.src.rpm<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 4-<\/strong> Now add correct repo for your server:<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">CentOS 6 32-bit (x86):<\/span><\/strong><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>wget http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-\r\n0.5.2-1.el6.rf.i686.rpm<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><strong><span style=\"color: #000000;\">CentOS 6 64-bit (x86_64):<\/span><\/strong><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>wget http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-\r\n0.5.2-2.el6.rf.x86_64.rpm<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">If you want to know which is your server, Run this command:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>uname -a<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">If you see \u201cx86_64 GNU\/Linux\u201d at the end of the output line means your server is 64-bit. Otherwise if you see \u201ci686 i386 GNU\/Linux\u201d or \u201cx86 GNU\/Linux\u201d means your machine is 32-bit.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 5-<\/strong> Now build the rpm package using this command:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>rpmbuild --rebuild lzo-1.08-4.rf.src.rpm\r\nrpm -Uvh lzo-*.rpm\r\nrpm -Uvh rpmforge-release*<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Install OpenVPN<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 6 &#8211;<\/strong> Issue this yum command:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>yum install openvpn -y<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 7-<\/strong> Copy the easy-rsa folder to \/etc\/openvpn\/<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>cp -R \/usr\/share\/doc\/openvpn-2.2.2\/easy-rsa\/ \/etc\/openvpn\/<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 8-<\/strong> Now edit it:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>nano \/etc\/openvpn\/easy-rsa\/2.0\/vars<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Edit this line:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>export KEY_CONFIG='$EASY_RSA\/whichopensslcnf $EASY_RSA'<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Replace it with:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>export KEY_CONFIG=\/etc\/openvpn\/easy-rsa\/2.0\/openssl-1.0.0.cnf<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Once done, save file and exit the editor.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 9-<\/strong> Create the certificate using these commands:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>cd \/etc\/openvpn\/easy-rsa\/2.0\r\nchmod 755 *\r\nsource .\/vars\r\n.\/vars\r\n<span style=\"color: #000000;\">.\/clean-all<\/span><\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 10-<\/strong> It\u2019s time to build necessary CA file:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>.\/build-ca<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 11-<\/strong> Now build Key Server:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>.\/build-key-server server<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Its almost the same as with .\/build.ca but check with any additionals<\/span><\/p>\n<p><span style=\"color: #000000;\">Common Name: server<\/span><br \/>\n<span style=\"color: #000000;\">A challenge password: leave<\/span><br \/>\n<span style=\"color: #000000;\">Optional company name: fill or enter<\/span><br \/>\n<span style=\"color: #000000;\">sign the certificate: y<\/span><br \/>\n<span style=\"color: #000000;\">1 out of 1 certificate requests: y<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 12-<\/strong> Now issue command below to build Diffie Hellman:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>.\/build-dh<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 13-<\/strong> Now time to create OpenVPN config file:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>nano \/etc\/openvpn\/server.conf<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 14-<\/strong> Now enter this value in that config file:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>port 1194 #- port\r\nproto udp #- protocol\r\ndev tun\r\ntun-mtu 1500\r\ntun-mtu-extra 32\r\nmssfix 1450\r\nreneg-sec 0\r\nca \/etc\/openvpn\/easy-rsa\/2.0\/keys\/ca.crt\r\ncert \/etc\/openvpn\/easy-rsa\/2.0\/keys\/server.crt\r\nkey \/etc\/openvpn\/easy-rsa\/2.0\/keys\/server.key\r\ndh \/etc\/openvpn\/easy-rsa\/2.0\/keys\/dh1024.pem\r\nplugin \/usr\/share\/openvpn\/plugin\/lib\/openvpn-auth-pam.so \/etc\/pam.d\/login \r\n#- Comment this line if you are using FreeRADIUS\r\n#plugin \/etc\/openvpn\/radiusplugin.so \/etc\/openvpn\/radiusplugin.cnf \r\n#- Uncomment this line if you are using FreeRADIUS\r\nclient-cert-not-required\r\nusername-as-common-name\r\nserver 10.8.0.0 255.255.255.0\r\npush \"redirect-gateway def1\"\r\npush \"dhcp-option DNS 8.8.8.8\"\r\npush \"dhcp-option DNS 8.8.4.4\"\r\nkeepalive 5 30\r\ncomp-lzo\r\npersist-key\r\npersist-tun\r\nstatus 1194.log\r\nverb 3<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Once done, save the file.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 15-<\/strong> Lets start OpenVPN service on your server:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>service openvpn start<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 16-<\/strong> You\u2019ll also need to enable IP forwarding in the file \/etc\/sysctl.conf. Open it and edit \u201cnet.ipv4.ip_forward\u201d line to 1:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>nano \/etc\/sysctl.conf<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">replace 0 with 1 in this line:<\/span><\/p>\n<p><span style=\"color: #000000;\">net.ipv4.ip_forward = 1<\/span><\/p>\n<p><span style=\"color: #000000;\">Once done save the file.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 17-<\/strong> Issue this command to load the change:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>sysctl -p<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 18-<\/strong> Create new Linux username which can also be used to login to the VPN:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>useradd username -s \/bin\/false<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Replace username with your own username.<\/span><\/p>\n<p><span style=\"color: #000000;\">Then also create its password:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>passwd username<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 19-<\/strong> Now route some iptables.<\/span><\/p>\n<p><span style=\"color: #000000;\">Xen and KVM users can use:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>iptables -t nat -A POSTROUTING -s 10.8.0.0\/24 -o eth0 -j MASQUERADE<\/pre>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">OpenVZ can use these two instead:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source \r\n123.123.123.123<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">And<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>iptables -t nat -A POSTROUTING -s 10.8.0.0\/24 -j SNAT --to-source \r\n123.123.123.123<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Do not forget to replace 123.123.123.123 with your server IP.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 20-<\/strong> Note: if you have CSF on the same server you need to open your OpenVPN port (Usually 1194) wihtin the firewall and run the below commands for CSF:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT\r\niptables -A FORWARD -s 10.8.0.0\/24 -j ACCEPT\r\niptables -A FORWARD -j REJECT\r\niptables -t nat -A POSTROUTING -s 10.8.0.0\/24 -o eth0 -j MASQUERADE\r\niptables -t nat -A POSTROUTING -j SNAT --to-source 123.123.123.123<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 21-<\/strong> Now save that iptables rules:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>service iptables save<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\"><strong>Step 22-<\/strong> Finally lets create a server.ovpn config file. To make it easy, you can simply create it on your local computer using Notepad (or any other simple text editor tool). Enter following in that file:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>client\r\ndev tun\r\nproto udp&lt;\r\nremote 123.123.123.123 1194 # - Your server IP and OpenVPN Port\r\nresolv-retry infinite\r\nnobind\r\ntun-mtu 1500\r\ntun-mtu-extra 32\r\nmssfix 1450\r\npersist-key\r\npersist-tun\r\nca ca.crt\r\nauth-user-pass\r\ncomp-lzo\r\nreneg-sec 0\r\nverb 3<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Then save it with .ovpn extension. Save that file in the config directory of where you installed OpenVPN client in your computer<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Step 23-<\/strong> Now you can copy ca.crt file from \/etc\/openvpn\/easy-rsa\/2.0\/keys\/ directory and place it in your server\u2019s document root (public_html).<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>cp \/etc\/openvpn\/easy-rsa\/2.0\/keys\/ca.crt \/path\/to\/public\/directory<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Example:<\/span><\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>cp \/etc\/openvpn\/easy-rsa\/2.0\/keys\/ca.crt \/var\/www\/cpanelplesk.com\r\n\/public_html<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p><span style=\"color: #000000;\">Now you can download the ca.crt file from your browser by going to domain.com\/ca.crt then save it to the same folder as .ovpn file you created earlier.<\/span><\/p>\n<p><span style=\"color: #000000;\">That\u2019s it. Now you can login to your VPN using username and password you\u2019ve created.<\/span><\/p>\n<p><span style=\"color: #000000;\">That\u2019s all to do, Now you know how its easy to\u00a0build OpenVPN server on \u00a0CentOS 6.X . You also like to know<a href=\"https:\/\/cpanelplesk.com\/wp62\/install-ghost-nginx-centos\/\"> how to install ghost with nginx on CentOS <\/a>, Please check that and also\u00a0Give your opinion below if you experience any issues or to discuss your ideas and experiences.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial I will guide you how to install OpenVPN on CentOS server. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":5480,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-5476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create OpenVPN server on CentOS 6.X - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to create OpenVPN server on CentOS 6.X - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"In this tutorial I will guide you how to install OpenVPN on CentOS server. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to create OpenVPN server on CentOS 6.X\",\"datePublished\":\"2016-10-26T03:10:55+00:00\",\"dateModified\":\"2021-02-02T09:54:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\"},\"wordCount\":637,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\",\"name\":\"How to create OpenVPN server on CentOS 6.X - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg\",\"datePublished\":\"2016-10-26T03:10:55+00:00\",\"dateModified\":\"2021-02-02T09:54:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg\",\"width\":269,\"height\":187},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create OpenVPN server on CentOS 6.X\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create OpenVPN server on CentOS 6.X - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/","twitter_card":"summary_large_image","twitter_title":"How to create OpenVPN server on CentOS 6.X - cPanel Plesk","twitter_description":"In this tutorial I will guide you how to install OpenVPN on CentOS server. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to create OpenVPN server on CentOS 6.X","datePublished":"2016-10-26T03:10:55+00:00","dateModified":"2021-02-02T09:54:57+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/"},"wordCount":637,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg","articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/","url":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/","name":"How to create OpenVPN server on CentOS 6.X - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg","datePublished":"2016-10-26T03:10:55+00:00","dateModified":"2021-02-02T09:54:57+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/10\/OpenVPN.jpg","width":269,"height":187},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/create-openvpn-server-centos-6-x\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to create OpenVPN server on CentOS 6.X"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=5476"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5476\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/5480"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=5476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=5476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=5476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}