{"id":1661,"date":"2022-03-08T15:07:55","date_gmt":"2022-03-08T07:07:55","guid":{"rendered":"https:\/\/dasmz.com\/?p=1661"},"modified":"2022-03-08T15:53:02","modified_gmt":"2022-03-08T07:53:02","slug":"debian-ubuntu-%e7%9a%84linux%e5%ae%89%e8%a3%85%e4%bd%bf%e7%94%a8openvpn3%e5%ae%a2%e6%88%b7%e7%ab%af-2022-03-08","status":"publish","type":"post","link":"https:\/\/dasmz.com\/?p=1661","title":{"rendered":"Debian \/ Ubuntu \u7684Linux\u5b89\u88c5\u4f7f\u7528openvpn3\u5ba2\u6237\u7aef 2022-03-08"},"content":{"rendered":"\n<p><strong>\u6bb5\u843d1\u3001\u9700\u6c42<\/strong><\/p>\n\n\n\n<p>\u672c\u5730\u7684\u73af\u5883\u662fDebian \/ Ubuntu\u7684Linux\u73af\u5883\uff0c\u9700\u8981\u5b89\u88c5openvpn3\u5ba2\u6237\u7aef\uff0c\u5e76\u8fde\u63a5\u5230\u5df2\u6709\u7684\u670d\u52a1\u7aef\u4e0a\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"517\" height=\"174\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-23-39.png\" alt=\"\" class=\"wp-image-1675\"\/><\/figure><\/div>\n\n\n\n<p>\u5ba2\u6237\u7aef\u9879\u76ee\u5730\u5740 <a href=\"https:\/\/github.com\/OpenVPN\/openvpn3-linux\" data-type=\"URL\" data-id=\"https:\/\/github.com\/OpenVPN\/openvpn3-linux\">https:\/\/github.com\/OpenVPN\/openvpn3-linux<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u6bb5\u843d2\u3001openvpn3\u5ba2\u6237\u7aef\u5b89\u88c5<\/strong><\/p>\n\n\n\n<p>\u53c2\u8003 <a href=\"https:\/\/community.openvpn.net\/openvpn\/wiki\/OpenVPN3Linux\">https:\/\/community.openvpn.net\/openvpn\/wiki\/OpenVPN3Linux<\/a><\/p>\n\n\n\n<p>\u767b\u5f55\u672c\u5730\u7684Debian \/ Ubuntu\u5ba2\u6237\u7aef\u7684Linux\u73af\u5883\uff0c\u7f16\u8f91\u6587\u4ef6 \/etc\/apt\/sources.list.d\/openvpn3.list<\/p>\n\n\n\n<p>\u6dfb\u52a0\u5185\u5bb9<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># OpenVPN3 Official Apt Repository for openvpn3.\ndeb https:\/\/swupdate.openvpn.net\/community\/openvpn3\/repos stretch main<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ \u6267\u884c\u66f4\u65b0\nroot@client:~# apt-get update\n\n\/\/ \u5b89\u88c5\u5fc5\u8981\u7684\u7ec4\u4ef6\nroot@client:~# apt install apt-transport-https build-essential libssl-dev\n\n\/\/ \u6dfb\u52a0\u5bc6\u94a5\nroot@client:~# wget https:\/\/swupdate.openvpn.net\/repos\/openvpn-repo-pkg-key.pub\n\nroot@client:~# apt-key add openvpn-repo-pkg-key.pub\n\n\/\/ \u518d\u6b21\u66f4\u65b0\nroot@client:~# apt-get update\nroot@client:~# apt-get upgrade\n\n\/\/ \u5b89\u88c5\u5ba2\u6237\u7aef\nroot@client:~# apt install openvpn3\n\n<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted has-light-gray-background-color has-background\"><em>\/\/ \u6b63\u5e38\u5b89\u88c5\u7684\u63d0\u793a\u4fe1\u606f\nSetting up libjsoncpp1:amd64 (1.7.4-3) ...\nSetting up python3-dbus (1.2.4-1+b1) ...\nSetting up python3-gi (3.22.0-2) ...\nSetting up openvpn3 (16~beta+stretch) ...\nopenvpn3-autoload.service is a disabled or a static unit, not starting it.<\/em><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"807\" height=\"729\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-48-16.png\" alt=\"\" class=\"wp-image-1686\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-48-16.png 807w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-48-16-768x694.png 768w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-48-16-624x564.png 624w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6bb5\u843d3\u3001\u6b22\u5feb\u4f7f\u7528openvpn3\u5ba2\u6237\u7aef<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u9644\u5f55\u3001\u62a5\u9519\u8bb0\u5f551\uff0c\u5982\u679c\uff0c\u5b89\u88c5\u65f6\u5019\u7684\u62a5\u9519\u4fe1\u606f\u5982\u4e0b<\/strong><\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\"><em>The following packages have unmet dependencies:<br>openvpn3 : Depends: libcap-ng0 (>= 0.7.9) but 0.7.7-3+b1 is to be installed<br>Depends: libgcc-s1 (>= 3.0) but it is not installable<br>Depends: libprotobuf17 but it is not installable<br>Depends: libssl1.1 (>= 1.1.1) but 1.1.0l-1~deb9u4 is to be installed<br>Depends: libstdc++6 (>= 9) but 6.3.0-18+deb9u1 is to be installed<br>Depends: libtinyxml2-6a (>= 6.0.0) but it is not installable<br>E: Unable to correct problems, you have held broken packages.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"760\" height=\"314\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-20-50.png\" alt=\"\" class=\"wp-image-1671\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-20-50.png 760w, https:\/\/dasmz.com\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-08-15-20-50-624x258.png 624w\" sizes=\"(max-width: 760px) 100vw, 760px\" \/><\/figure>\n\n\n\n<p>\u6b64\u62a5\u9519\uff0c\u5927\u6982\u7387\uff0c\u662f\u4f60\u7f16\u8f91\u6587\u4ef6 \/etc\/apt\/sources.list.d\/openvpn3.list \u6587\u4ef6\u4e2d\uff0c\u4f60\u5f53\u524d\u7684Debian\/Ubuntu\u53d1\u578b\u7248\u672c\u7684\u540d\u79f0\u5199\u9519\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6bb5\u843d1\u3001\u9700\u6c42 \u672c\u5730\u7684\u73af\u5883\u662fDebian \/ Ubuntu\u7684Linux\u73af\u5883\uff0c\u9700\u8981\u5b89\u88c5openvpn3\u5ba2\u6237\u7aef\uff0c\u5e76\u8fde [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/1661"}],"collection":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1661"}],"version-history":[{"count":18,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/1661\/revisions"}],"predecessor-version":[{"id":1691,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/1661\/revisions\/1691"}],"wp:attachment":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}