{"id":214,"date":"2010-05-04T18:00:36","date_gmt":"2010-05-04T09:00:36","guid":{"rendered":"http:\/\/dlog.net-squares.com\/?p=214"},"modified":"2010-12-24T11:24:19","modified_gmt":"2010-12-24T02:24:19","slug":"vpn%e3%82%92%e6%a4%9c%e8%a8%bc%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/dlog.net-squares.com\/?p=214","title":{"rendered":"VPN\u3092\u691c\u8a3c\u3057\u3066\u307f\u305f"},"content":{"rendered":"<strong>\u30cd\u30c3\u30c8\u30b9\u30af\u30a8\u30a2<\/strong>\u306e<strong>\u5fd7\u85e4<\/strong>\u3067\u3059\u3002\r\n\r\n\u4eca\u65e5\u306f<a href=\"http:\/\/openvpn.net\/\">OpenVPN<\/a>\u3092\u89e6\u3063\u3066\u307f\u305f\u306e\u3067\r\n\u305d\u306e\u30ed\u30b0\u3068\u611f\u60f3\u3092\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\r\n<br>\r\n\u2193\u2193\u2193\u4f5c\u696d\u30ed\u30b0\uff08\u3053\u3053\u304b\u3089\uff09\u2193\u2193\u2193<br>\r\n# rpm -ivh openvpn-as-1.3.5-CentOS5.i386.rpm<br>\r\n\u6e96\u5099\u4e2d&#8230;                ########################################### [100%]<br>\r\n   1:openvpn-as             ########################################### [100%]<br>\r\nPlease configure OpenVPN-AS by running \/usr\/local\/openvpn_as\/bin\/ovpn-init<br>\r\n<br>\r\n# \/usr\/local\/openvpn_as\/bin\/ovpn-init<br>\r\n<br>\r\n          OpenVPN Access Server<br>\r\n          Initial Configuration Tool<br>\r\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\r\nOpenVPN Access Server End User License Agreement (OpenVPN-AS EULA)<br>\r\n<br>\r\n  1. Copyright Notice: OpenVPN Access Server License;<br>\r\n     Copyright (c) 2009-2010 OpenVPN Technologies, Inc..  All rights reserved.<br>\r\n     &#8220;OpenVPN&#8221; is a trademark of OpenVPN Technologies, Inc.<br>\r\n  2. Redistribution of OpenVPN Access Server binary forms and documents,<br>\r\n     are permitted provided that redistributions of OpenVPN Access Server<br>\r\n     binary forms and documents must reproduce the above copyright notice.<br>\r\n  3. You agree not to reverse engineer, decompile, disassemble, modify, translate,<br>\r\n     make any attempt to discover the source code of this software, or create<br>\r\n     derivative works from this software.<br>\r\n  4. The OpenVPN Access Server is bundled with other open source software<br>\r\n     components, some of which fall under different licenses.  By using<br>\r\n     OpenVPN or any of the bundled components, you agree to be bound by<br>\r\n     the conditions of the license for each respective component.<br>\r\n     See \/usr\/local\/openvpn_as\/license.txt in the Access Server distribution<br>\r\n     for more info.<br>\r\n  5. THIS SOFTWARE IS PROVIDED &#8220;AS IS&#8221; AND ANY EXPRESSED OR IMPLIED WARRANTIES,<br>\r\n     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY<br>\r\n     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL<br>\r\n     OPENVPN TECHNOLOGIES, INC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,<br>\r\n     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED<br>\r\n     TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br>\r\n     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br>\r\n     LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br>\r\n     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br>\r\n     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br>\r\n<br>\r\nPlease enter &#8216;yes&#8217; to indicate your agreement [no]: yes<br>\r\n<br>\r\nOnce you provide a few initial configuration settings,<br>\r\nOpenVPN Access Server can be configured by accessing<br>\r\nits Admin Web UI using your Web browser.<br>\r\n<br>\r\nPlease specify the network interface and IP address to be<br>\r\nused by the Admin Web UI:<br>\r\n(1) all interfaces: 0.0.0.0<br>\r\n(2) eth0: XXX.XXX.XXX.XXX<br>\r\nPlease enter the option number from the list above (1-2).<br>\r\n> Press Enter for default [2]: 2<br>\r\n<br>\r\nPlease specify the port number for the Admin Web UI.<br>\r\n> Press ENTER for default [943]:<br>\r\n<br>\r\nPlease specify the TCP port number for the OpenVPN Daemon<br>\r\n> Press ENTER for default [1194]:<br>\r\n<br>\r\nShould client traffic be routed by default through the VPN?<br>\r\n> Press ENTER for default [yes]:no<br>\r\n<br>\r\nShould RFC1918 private subnets be accessible to clients by default?<br>\r\n> Press ENTER for default [yes]:no<br>\r\n<br>\r\nTo initially login to the Admin Web UI, you must use a<br>\r\nusername and password that successfully authenticate you<br>\r\nwith the host UNIX system (you can later modify the settings<br>\r\nso that RADIUS or LDAP is used for authentication instead).<br>\r\n<br>\r\nYou can login to the Admin Web UI as &#8216;root&#8217; with your existing<br>\r\nroot password or specify a different user account to use for this<br>\r\npurpose. If you choose to use a non-root account, you can create<br>\r\na new user account or specify an existing user account.<br>\r\n<br>\r\nDo you wish to login as &#8216;root&#8217;?<br>\r\n> Press ENTER for default [yes]:no<br>\r\n<br>\r\n> Please specify your OpenVPN-AS license key (or leave blank to specify later):<br>\r\n<br>\r\n<br>\r\nInitializing OpenVPN&#8230;<br>\r\nWriting as configuration file&#8230;<br>\r\nPerform sa init&#8230;<br>\r\nWiping any previous userdb&#8230;<br>\r\nCreating default profile&#8230;<br>\r\nModifying default profile&#8230;<br>\r\nAdding new user to userdb&#8230;<br>\r\nModifying new user as superuser in userdb&#8230;<br>\r\nGetting hostname&#8230;<br>\r\nHostname: zoo.net-squares.com<br>\r\nPreparing web certificates&#8230;<br>\r\nGetting web user account&#8230;<br>\r\nAdding web group account&#8230;<br>\r\nAdding web user account&#8230;<br>\r\nAdding web group&#8230;<br>\r\nAdjusting license directory ownership&#8230;<br>\r\nInitializing userdb&#8230;<br>\r\nGenerating init scripts&#8230;<br>\r\nGenerating PAM config&#8230;<br>\r\nGenerating init scripts auto command&#8230;<br>\r\nStarting openvpnas&#8230;<br>\r\n<br>\r\nNOTE: Your system clock must be correct for OpenVPN Access Server<br>\r\nto perform correctly.  Please ensure that your time and date<br>\r\nare correct on this system.<br>\r\n<br>\r\nInitial Configuration Complete!<br>\r\n<br>\r\nYou can now continue configuring OpenVPN Access Server by<br>\r\ndirecting your Web browser to this URL:<br>\r\n<br>\r\nhttps:\/\/XXX.XXX.XXX.XXX:943\/admin<br>\r\n<br>\r\nLogin as &#8220;root&#8221; with the same password used to authenticate<br>\r\nto this UNIX host.<br>\r\n<br>\r\nSee the Release Notes for this release at:<br>\r\n   http:\/\/www.openvpn.net\/access-server\/rn\/openvpn_as_1_3_5.html<br>\r\n<br>\r\n\u2191\u2191\u2191\u4f5c\u696d\u30ed\u30b0\uff08\u3053\u3053\u307e\u3067\uff09\u2191\u2191\u2191<br>\r\n<br>\r\n\u611f\u60f3\u3068\u3057\u3066\u306f\u3001\u300c\u3048\u3001\u3053\u308c\u3067\u7d42\u308f\u308a\uff1f\u300d\u3068\u3044\u3046\u3050\u3089\u3044\u7c21\u5358\u3067\u3057\u305f\u3002<br>\r\n<br>\r\n\u8a2d\u5b9a\u306f\u5168\u7136\u5909\u66f4\u3057\u3066\u3044\u306a\u3044\u308f\u3051\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001<br>\r\n\u57fa\u672c\u306f<a href=\"http:\/\/tech.cm55.com\/wiki\/OpenVPN\">\u3053\u3053<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u3001<br>\r\n\u3042\u3068\u306f\u793e\u5185\uff2c\uff21\uff2e\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3055\u305b\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\uff11\u7b87\u6240\u8ffd\u52a0\u3057\u305f\u3089\u7e4b\u304c\u308a\u307e\u3057\u305f\u3002<br>\r\n<br>\r\n\u5f53\u7136\u30bb\u30ad\u30e5\u30a2\u306a\u901a\u4fe1\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u3057\u3001<br>\r\nVPN\u3060\u3068\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3082\u793e\u5185\u306b\u3044\u308b\u306e\u3068\u540c\u3058\u611f\u899a\u3067\u4f7f\u3048\u308b\u306e\u3067\u3068\u3063\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002<br>\r\n<br>\r\n\uff27\uff37\u3084\u5e74\u672b\u5e74\u59cb\u306e\u5927\u578b\u9023\u4f11\u306b\u306a\u308b\u3068\u4f1a\u793e\u306e\u8fd1\u304f\u306b\u3044\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u304b\u3089\u3001<br>\r\n\u30ea\u30e2\u30fc\u30c8\u30e1\u30f3\u30c6\u3067\u304d\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u304a\u304f\u3079\u304d\u3067\u3059\u306d\u3002","protected":false},"excerpt":{"rendered":"<p>\u30cd\u30c3\u30c8\u30b9\u30af\u30a8\u30a2\u306e\u5fd7\u85e4\u3067\u3059\u3002 \u4eca\u65e5\u306fOpenVPN\u3092\u89e6\u3063\u3066\u307f\u305f\u306e\u3067 \u305d\u306e\u30ed\u30b0\u3068\u611f\u60f3\u3092\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u2193\u2193\u2193\u4f5c\u696d\u30ed\u30b0\uff08\u3053\u3053\u304b\u3089\uff09\u2193\u2193\u2193 # rpm -ivh openvpn-as-1.3.5-CentOS5.i386. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=214"}],"version-history":[{"count":7,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dlog.net-squares.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}