{"id":379,"date":"2012-05-19T13:05:06","date_gmt":"2012-05-19T13:05:06","guid":{"rendered":"http:\/\/dev.anyons.net\/?p=379"},"modified":"2023-11-04T22:28:26","modified_gmt":"2023-11-04T13:28:26","slug":"openvpn-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/anyons.net\/?p=379","title":{"rendered":"openvpn \uc124\uce58"},"content":{"rendered":"<p>yum install openvpn<\/p>\n<p>\uadf8\ub7ec\uba74 \uc124\uce58\uac00 \uc644\ub8cc\ub41c\ub2e4. \u314b\u314b<\/p>\n<p>\uc774\uc81c CA \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Server \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0\u00a0Client\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \ud658\uacbd\ud30c\uc77c\uc744 \ub9de\ucdb0 \uc900\ud6c4\uc5d0 \uc7ac\uc2dc\uc791\ud558\uba74 \ub41c\ub2e4.<\/p>\n<p>\uba3c\uc800 \/usr\/share\/doc\/openvpn-X.X.X\/easy-rsa\/2.0 \uc5d0 vars \ud30c\uc77c \uac00\uc7a5 \uc544\ub798\ucabd \uc778\uc99d\uc11c \uad6c\uc131\ud55c\ud6c4<\/p>\n<pre class=\"lang:sh decode:true\">export KEY_COUNTRY=KR\nexport KEY_PROVINCE=NA\nexport KEY_CITY=SEOUL\nexport KEY_ORG=\"anyons\"\nexport KEY_EMAIL=\"anyxxxxxxx@anyons.net\"<\/pre>\n<pre class=\"lang:sh decode:true\">source .\/vars<\/pre>\n<p>\ub85c \ud658\uacbd\uad6c\uc131<\/p>\n<p>1-1. CA \uc778\uc99d\uc11c \uc0dd\uc131<br \/>\n<a href=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-386 size-full\" title=\"cacertcreate\" src=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png\" alt=\"\" width=\"635\" height=\"363\" \/><\/a><\/p>\n<p>1-2. Server \uc778\uc99d\uc11c \uc0dd\uc131<br \/>\n<a href=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/servercertcreate.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-390 size-full\" title=\"servercertcreate\" src=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/servercertcreate.png\" alt=\"\" width=\"635\" height=\"633\" \/><\/a><\/p>\n<p>1-3. \ud074\ub77c\uc774\uc5b8\ud2b8 \uc778\uc99d\uc11c \uc0dd\uc131<a href=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/clientcertcreate.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-389 size-full\" title=\"clientcertcreate\" src=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/clientcertcreate.png\" alt=\"\" width=\"635\" height=\"632\" \/><\/a><\/p>\n<p>1-4. \uadf8 \ub4a4\uc5d0\uc544\ub798 Command\ub85c \uc778\uc99d\uc11c \uc0dd\uc131 \ub9c8\ubb34\ub9ac<\/p>\n<pre class=\"lang:sh decode:true\">.\/build-dh<\/pre>\n<p>2-1. \uc11c\ubc84 \ud658\uacbd\ud30c\uc77c \ud3b8\uc9d1 \/etc\/openvpn\/server.conf<\/p>\n<pre class=\"lang:sh decode:true\">server 10.1.1.0 255.255.255.0\nclient-to-client\nduplicate-cn\nmax-clients 100\npluginin \/usr\/share\/openvpn\/plugin\/lib\/openvpn-auth-pam.so login<\/pre>\n<p>2-2 \uc11c\ubc84 \ud658\uacbd \ud3f4\ub354\uc5d0 \ud544\uc694\ud55c \ud30c\uc77c\ub4e4<\/p>\n<pre class=\"lang:sh decode:true\">ca.crt\nca.key\ndh1024.pem\nserver.conf\nserver.crt\nserver.csr\nserver.key<\/pre>\n<p>2-3 \ub9c8\uc9c0\ub9c9 selinux \uc124\uc815<\/p>\n<pre class=\"lang:sh decode:true\">setsebool -P openvpn_enable_homedirs 1\nsetsebool -P openvpn_disable_trans on<\/pre>\n<p>2-4 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd\ud30c\uc77c \ud3b8\uc9d1 C:Program FilesOpenVPNconfigclientovpn<\/p>\n<pre class=\"lang:sh decode:true\">client\ndev tun\nproto udp\nremote 218.145.31.188 1194\nresolv-retry infinite\nnobind\npersist-key\npersist-tun\nca ca.crt\ncert client.crt\nkey client.key\ncomp-lzo\nverb 3\nauth-user-pass<\/pre>\n<p>2-5 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd \ud3f4\ub354\uc5d0 \ud544\uc694\ud55c \ud30c\uc77c\ub4e4<\/p>\n<pre class=\"lang:sh decode:true\">ca.crt\nclient.crt\nclient.csr\nclient.key\nclient.ovpn<\/pre>\n<p>3-1. Ubuntu \uc5d0\uc11c \ubcc0\uacbd<\/p>\n<pre class=\"lang:c# decode:true\">.\/easyrsa gen-req clientname\n.\/easyrsa sign-req clientname\n\npki\/issued\/clientname.crt\npki\/private\/clientname.key<\/pre>\n<p>\ub85c \ubcc0\uacbd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum install openvpn<\/p>\n<p>\uadf8\ub7ec\uba74 \uc124\uce58\uac00 \uc644\ub8cc\ub41c\ub2e4. \u314b\u314b<\/p>\n<p>\uc774\uc81c CA \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Server \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Client\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \ud658\uacbd\ud30c\uc77c\uc744 \ub9de\ucdb0 \uc900\ud6c4\uc5d0 \uc7ac\uc2dc\uc791\ud558\uba74 \ub41c\ub2e4.<\/p>\n<p>\uba3c\uc800 \/usr\/share\/doc\/openvpn-X.X.X\/easy-rsa\/2.0 \uc5d0 vars \ud30c\uc77c \uac00\uc7a5 \uc544\ub798\ucabd \uc778\uc99d\uc11c \uad6c\uc131\ud55c\ud6c4<\/p>\n<p> export KEY_COUNTRY=KR export KEY_PROVINCE=NA export KEY_CITY=SEOUL export KEY_ORG=&#8221;anyons&#8221; export KEY_EMAIL=&#8221;anyxxxxxxx@anyons.net&#8221; source .\/vars <\/p>\n<p>\ub85c \ud658\uacbd\uad6c\uc131<\/p>\n<p>1-1. CA \uc778\uc99d\uc11c \uc0dd\uc131 <\/p>\n<p>1-2. Server [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[93,94,165],"tags":[149,169,171,168,100,170],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-command","category-configuration","category-system","tag-centos","tag-cert","tag-client","tag-openvpn","tag-selinux","tag-server","odd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>openvpn \uc124\uce58 - anydragon<\/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:\/\/anyons.net\/?p=379\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"openvpn \uc124\uce58 - anydragon\" \/>\n<meta property=\"og:description\" content=\"yum install openvpn \uadf8\ub7ec\uba74 \uc124\uce58\uac00 \uc644\ub8cc\ub41c\ub2e4. \u314b\u314b \uc774\uc81c CA \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Server \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Client\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \ud658\uacbd\ud30c\uc77c\uc744 \ub9de\ucdb0 \uc900\ud6c4\uc5d0 \uc7ac\uc2dc\uc791\ud558\uba74 \ub41c\ub2e4. \uba3c\uc800 \/usr\/share\/doc\/openvpn-X.X.X\/easy-rsa\/2.0 \uc5d0 vars \ud30c\uc77c \uac00\uc7a5 \uc544\ub798\ucabd \uc778\uc99d\uc11c \uad6c\uc131\ud55c\ud6c4 export KEY_COUNTRY=KR export KEY_PROVINCE=NA export KEY_CITY=SEOUL export KEY_ORG=&quot;anyons&quot; export KEY_EMAIL=&quot;anyxxxxxxx@anyons.net&quot; source .\/vars \ub85c \ud658\uacbd\uad6c\uc131 1-1. CA \uc778\uc99d\uc11c \uc0dd\uc131 1-2. Server [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/anyons.net\/?p=379\" \/>\n<meta property=\"og:site_name\" content=\"anydragon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/anydragon\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/anydragon\" \/>\n<meta property=\"article:published_time\" content=\"2012-05-19T13:05:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-04T13:28:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png\" \/>\n<meta name=\"author\" content=\"anydragon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@anydragon\" \/>\n<meta name=\"twitter:site\" content=\"@anydragon\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"anydragon\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379\"},\"author\":{\"name\":\"anydragon\",\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"headline\":\"openvpn \uc124\uce58\",\"datePublished\":\"2012-05-19T13:05:06+00:00\",\"dateModified\":\"2023-11-04T13:28:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379\"},\"wordCount\":37,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"image\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/cacertcreate.png\",\"keywords\":[\"centos\",\"cert\",\"client\",\"openvpn\",\"selinux\",\"server\"],\"articleSection\":[\"Command\",\"Configuration\",\"System\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/anyons.net\\\/?p=379#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379\",\"url\":\"https:\\\/\\\/anyons.net\\\/?p=379\",\"name\":\"openvpn \uc124\uce58 - anydragon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/cacertcreate.png\",\"datePublished\":\"2012-05-19T13:05:06+00:00\",\"dateModified\":\"2023-11-04T13:28:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/anyons.net\\\/?p=379\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#primaryimage\",\"url\":\"https:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/cacertcreate.png\",\"contentUrl\":\"https:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/cacertcreate.png\",\"width\":635,\"height\":363},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=379#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/anyons.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"openvpn \uc124\uce58\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/anyons.net\\\/#website\",\"url\":\"https:\\\/\\\/anyons.net\\\/\",\"name\":\"anydragon\",\"description\":\"mac, linux, aws, c, c++, mysql, mssql, redis, csharp, nodejs, rust, golang\",\"publisher\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/anyons.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\",\"name\":\"anydragon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"url\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"contentUrl\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"width\":2560,\"height\":1440,\"caption\":\"anydragon\"},\"logo\":{\"@id\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\"},\"sameAs\":[\"http:\\\/\\\/anyons.net\",\"https:\\\/\\\/www.facebook.com\\\/anydragon\",\"https:\\\/\\\/x.com\\\/anydragon\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCr78KWpvmk398vPfpUTWNLg\"],\"url\":\"https:\\\/\\\/anyons.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"openvpn \uc124\uce58 - anydragon","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:\/\/anyons.net\/?p=379","og_locale":"ko_KR","og_type":"article","og_title":"openvpn \uc124\uce58 - anydragon","og_description":"yum install openvpn \uadf8\ub7ec\uba74 \uc124\uce58\uac00 \uc644\ub8cc\ub41c\ub2e4. \u314b\u314b \uc774\uc81c CA \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Server \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 Client\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc778\uc99d\uc11c\ub97c \uc0dd\uc131\ud558\uace0 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \ud658\uacbd\ud30c\uc77c\uc744 \ub9de\ucdb0 \uc900\ud6c4\uc5d0 \uc7ac\uc2dc\uc791\ud558\uba74 \ub41c\ub2e4. \uba3c\uc800 \/usr\/share\/doc\/openvpn-X.X.X\/easy-rsa\/2.0 \uc5d0 vars \ud30c\uc77c \uac00\uc7a5 \uc544\ub798\ucabd \uc778\uc99d\uc11c \uad6c\uc131\ud55c\ud6c4 export KEY_COUNTRY=KR export KEY_PROVINCE=NA export KEY_CITY=SEOUL export KEY_ORG=\"anyons\" export KEY_EMAIL=\"anyxxxxxxx@anyons.net\" source .\/vars \ub85c \ud658\uacbd\uad6c\uc131 1-1. CA \uc778\uc99d\uc11c \uc0dd\uc131 1-2. Server [...]","og_url":"https:\/\/anyons.net\/?p=379","og_site_name":"anydragon","article_publisher":"https:\/\/www.facebook.com\/anydragon","article_author":"https:\/\/www.facebook.com\/anydragon","article_published_time":"2012-05-19T13:05:06+00:00","article_modified_time":"2023-11-04T13:28:26+00:00","og_image":[{"url":"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png","type":"","width":"","height":""}],"author":"anydragon","twitter_card":"summary_large_image","twitter_creator":"@anydragon","twitter_site":"@anydragon","twitter_misc":{"\uae00\uc4f4\uc774":"anydragon","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/anyons.net\/?p=379#article","isPartOf":{"@id":"https:\/\/anyons.net\/?p=379"},"author":{"name":"anydragon","@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"headline":"openvpn \uc124\uce58","datePublished":"2012-05-19T13:05:06+00:00","dateModified":"2023-11-04T13:28:26+00:00","mainEntityOfPage":{"@id":"https:\/\/anyons.net\/?p=379"},"wordCount":37,"commentCount":0,"publisher":{"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"image":{"@id":"https:\/\/anyons.net\/?p=379#primaryimage"},"thumbnailUrl":"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png","keywords":["centos","cert","client","openvpn","selinux","server"],"articleSection":["Command","Configuration","System"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/anyons.net\/?p=379#respond"]}]},{"@type":"WebPage","@id":"https:\/\/anyons.net\/?p=379","url":"https:\/\/anyons.net\/?p=379","name":"openvpn \uc124\uce58 - anydragon","isPartOf":{"@id":"https:\/\/anyons.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/anyons.net\/?p=379#primaryimage"},"image":{"@id":"https:\/\/anyons.net\/?p=379#primaryimage"},"thumbnailUrl":"http:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png","datePublished":"2012-05-19T13:05:06+00:00","dateModified":"2023-11-04T13:28:26+00:00","breadcrumb":{"@id":"https:\/\/anyons.net\/?p=379#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/anyons.net\/?p=379"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/anyons.net\/?p=379#primaryimage","url":"https:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png","contentUrl":"https:\/\/anyons.net\/wp-content\/uploads\/2012\/05\/cacertcreate.png","width":635,"height":363},{"@type":"BreadcrumbList","@id":"https:\/\/anyons.net\/?p=379#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/anyons.net\/"},{"@type":"ListItem","position":2,"name":"openvpn \uc124\uce58"}]},{"@type":"WebSite","@id":"https:\/\/anyons.net\/#website","url":"https:\/\/anyons.net\/","name":"anydragon","description":"mac, linux, aws, c, c++, mysql, mssql, redis, csharp, nodejs, rust, golang","publisher":{"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/anyons.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":["Person","Organization"],"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b","name":"anydragon","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","url":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","contentUrl":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","width":2560,"height":1440,"caption":"anydragon"},"logo":{"@id":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg"},"sameAs":["http:\/\/anyons.net","https:\/\/www.facebook.com\/anydragon","https:\/\/x.com\/anydragon","https:\/\/www.youtube.com\/channel\/UCr78KWpvmk398vPfpUTWNLg"],"url":"https:\/\/anyons.net\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":2814,"url":"https:\/\/anyons.net\/?p=2814","url_meta":{"origin":379,"position":0},"title":"azure ubuntu \uc124\uce58 ver 2022","author":"anydragon","date":"2022\ub144 09\uc6d4 06\uc77c","format":false,"excerpt":"TimeZone Setting ls -l \/etc\/localtime cd \/etc sudo rm -rf localtime sudo ln -s \/usr\/share\/zoneinfo\/Asia\/Seoul localtime # time changed UTC -> KST date package update sudo apt update sudo apt upgrade do-release-upgrade sudo apt autoclean sudo apt autoremove Util Install & Setting # install Utils sudo apt install build-essential sudo\u2026","rel":"","context":"&quot;Configuration&quot;\uc5d0\uc11c","block_context":{"text":"Configuration","link":"https:\/\/anyons.net\/?cat=94"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2820,"url":"https:\/\/anyons.net\/?p=2820","url_meta":{"origin":379,"position":1},"title":"ubuntu openvpn client \uad6c\uc131","author":"anydragon","date":"2022\ub144 09\uc6d4 04\uc77c","format":false,"excerpt":"openvpn \uc124\uce58 sudo apt install openvpn \uc11c\ubc84\uc5d0\uc11c ca.crt, ta.key, client.conf, client.ovpn, client.crt, client.key \ud30c\uc77c\uc744 \uc900\ube44 \uc704 \ud30c\uc77c\ub4e4\uc744 \/etc\/openvpn\uc73c\ub85c \ubcf5\uc0ac \/etc\/default\/openvpn \ud30c\uc77c \uc218\uc815 AUTOSTART=\"all\" \ub2e4\uc74c \uba85\ub839\uc73c\ub85c \uc11c\ube44\uc2a4 \ub4f1\ub85d, \uc2dc\uc791 sudo systemctl enable openvpn@client.service sudo systemctl daemon-reload sudo service openvpn@client start \u00a0","rel":"","context":"&quot;Configuration&quot;\uc5d0\uc11c","block_context":{"text":"Configuration","link":"https:\/\/anyons.net\/?cat=94"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":42,"url":"https:\/\/anyons.net\/?p=42","url_meta":{"origin":379,"position":2},"title":"ACE \uc124\uce58 \ubc29\ubc95","author":"anydragon","date":"2010\ub144 06\uc6d4 22\uc77c","format":false,"excerpt":"windows ACE_wrapper\/ace \uc5d0\uc11c config.h \ud30c\uc77c \uc0dd\uc131 #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #include \u201cconfig-win32.h\u201d linux ACE_wrapper\/ace \uc5d0\uc11c ln \u2013s config-linux.h config.h ACE_wrapper\/include\/makeinclude \uc5d0\uc11c ln \u2013s platform_aix_ibm.GNU platform_macros.GNU .bash_profile export ACE_ROOT=~\/Library\/ACE-5.7.9 export LD_LIBRARY_PATH=$ACE_ROOT\/ace ACE_wrapper\/ace \uc5d0\uc11c ..\/configure --enable-stdcpplib gmake buildbits=64 AIX ACE_wrapper\/ace \uc5d0\uc11c ln \u2013s config-aix-5.x.h config.h ACE_wrapper\/include\/makeinclude \uc5d0\uc11c ln \u2013s platform_aix_ibm.GNU platform_macros.GNU .profile export\u2026","rel":"","context":"&quot;Programming&quot;\uc5d0\uc11c","block_context":{"text":"Programming","link":"https:\/\/anyons.net\/?cat=96"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2521,"url":"https:\/\/anyons.net\/?p=2521","url_meta":{"origin":379,"position":3},"title":"vscode go Example\uc2e4\ud589","author":"anydragon","date":"2022\ub144 04\uc6d4 24\uc77c","format":false,"excerpt":"\ud504\ub85c\uc81d\ud2b8\uc6a9 \ud3f4\ub354 \uc0dd\uc131 main.go \ud30c\uc77c \uc0dd\uc131 package main import \"fmt\" func main() { fmt.Println(\"hello world\") } vscode \ub85c \ud3f4\ub354 \uc5f4\uae30 F5 \ub85c \uc2e4\ud589 -> Error dlv \ud30c\uc77c\uc774 \uc5c6\uc5b4\uc11c \uc0dd\uae34 \ubb38\uc81c \uc778\uac83 \uac19\uc544\uc11c \uc77c\ub2e8 delve \ud328\ud0a4\uc9c0 install brew install delve \ud558\uc9c0\ub9cc\u00a0 go: go.mod file not found in current directory or any\u2026","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19,"url":"https:\/\/anyons.net\/?p=19","url_meta":{"origin":379,"position":4},"title":".bat \ub0a0\uc790\ub85c \ud30c\uc77c\uba85 \uc0dd\uc131","author":"anydragon","date":"2009\ub144 10\uc6d4 09\uc77c","format":false,"excerpt":"set yyyy=%date:~0,4% set mm=%date:~5,2% set dd=%date:~8,2% echo group%yyyy%%mm%%dd%.log >> file.txt","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1144,"url":"https:\/\/anyons.net\/?p=1144","url_meta":{"origin":379,"position":5},"title":"SELinux \uc0ac\uc6a9 \uc608","author":"anydragon","date":"2015\ub144 04\uc6d4 12\uc77c","format":false,"excerpt":"httpd \uc548\uc5d0\uc11c \ub2e4\ub978 \uc11c\ubc84\uc758 Database\ub97c \uc0ac\uc6a9\ud558\uace0 \uc2f6\uc744\ub54c setsebool -P httpd_can_network_connect_db on Apache Log\ub97c NFS \uc0ac\uc6a9\ud558\uace0 \uc2f6\uc744\ub54c setsebool -P httpd_use_nfs on dovecot (imap)\uc744 \uc0ac\uc6a9\ud558\uace0 \uc2f6\uc744\ub54c setsebool -P dovecot_disable_trans 1 svn \uc11c\ubc84\ub97c \uc4f0\ub824\uace0 \ud560\ub54c $ semanage fcontext -a -t httpd_sys_content_t '\/home\/svn(\/.*)?' $ semanage fcontext -a -t httpd_sys_script_rw_t '\/home\/svn\/[^\/]+\/(dav|db)(\/.*)?' $ semanage fcontext -a\u2026","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=379"}],"version-history":[{"count":0,"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts\/379\/revisions"}],"wp:attachment":[{"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}