{"id":456,"date":"2022-01-12T16:07:48","date_gmt":"2022-01-12T08:07:48","guid":{"rendered":"http:\/\/itony.ml\/?p=456"},"modified":"2022-01-12T16:13:35","modified_gmt":"2022-01-12T08:13:35","slug":"centos%e6%90%ad%e5%bb%basocks5%e4%bb%a3%e7%90%86%e4%b8%80%e9%94%ae%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/itony.cc\/?p=456","title":{"rendered":"CentOS\u642d\u5efaSocks5\u4ee3\u7406\u4e00\u952e\u811a\u672c"},"content":{"rendered":"<p>\u6d4b\u8bd5\u73af\u5883\uff0c\u4eac\u4e1c\u4e91\uff0ccentos 7.2<\/p>\n<h2>\u5b89\u88c5<\/h2>\n<pre>yum update<\/pre>\n<p>\u4e0b\u8f7d\u811a\u672c\uff1a<\/p>\n<pre>wget --no-check-certificate https:\/\/raw.github.com\/Lozy\/danted\/master\/install.sh -O install.sh<\/pre>\n<p>\u5b89\u88c5\u811a\u672c<\/p>\n<pre>bash install.sh  <span class=\"hljs-comment\">--port=\u7aef\u53e3 --user=\u7528\u6237\u540d --passwd=\u5bc6\u7801<\/span><\/pre>\n<h2>\u5378\u8f7d<\/h2>\n<pre>bash install.sh --uninstall<\/pre>\n<h2><span style=\"font-size: 12pt;\">\u5176\u4e2d\u7684\u7aef\u53e3\u00a0\u7528\u6237\u540d\u00a0\u5bc6\u7801\u81ea\u884c\u4fee\u6539\u540e\u7c98\u8d34\u5230SSH\u91cc\u8fd0\u884c\u5b89\u88c5\u5373\u53ef\uff1b \u5b8c\u6210\u540e\u4f1a\u63d0\u793a<span style=\"color: #ff0000;\">Dante Server Install Successfuly<\/span>\u5373\u8868\u793a\u5b89\u88c5\u6210\u529f\uff1b \u5b89\u88c5\u540e\u5982\u679c\u8fde\u63a5\u4e0d\u4e0a\uff0c\u68c0\u67e5\u8bbe\u7f6e\u7684\u7aef\u53e3\u662f\u5426\u5df2\u7ecf\u653e\u884c\uff1b \u8bf4\u660e\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\u4f1a\u663e\u793a\u5185\u7f51IP\u5730\u5740\uff0c\u4f46\u5728\u5b9e\u9645\u4f7f\u7528\u7684\u65f6\u5019\u9700\u8981\u7528\u5916\u7f51IP\u5730\u5740\uff1b<\/span><\/h2>\n<h2>\u547d\u4ee4<\/h2>\n<div class=\"table-responsive\">\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u6216\u8005<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>service sockd start<\/td>\n<td>\/etc\/init.d\/sockd start<\/td>\n<td>\u542f\u52a8socks5\u670d\u52a1\u5668\u5b88\u62a4\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>service sockd stop<\/td>\n<td>\/etc\/init.d\/sockd stop<\/td>\n<td>\u505c\u6b62socks5\u670d\u52a1\u5668\u5b88\u62a4\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>service sockd restart<\/td>\n<td>\/etc\/init.d\/sockd restart<\/td>\n<td>\u91cd\u65b0\u542f\u52a8socks5\u670d\u52a1\u5668\u5b88\u62a4\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>service sockd reload<\/td>\n<td>\/etc\/init.d\/sockd reload<\/td>\n<td>\u91cd\u65b0\u52a0\u8f7dsocks5\u670d\u52a1\u5668\u5b88\u62a4\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>service sockd status<\/td>\n<td>\/<\/td>\n<td>\u7cfb\u7edf\u8fdb\u7a0b\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td>service sockd state<\/td>\n<td>\/etc\/init.d\/sockd state<\/td>\n<td>\u8fd0\u884c\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td>service sockd tail<\/td>\n<td>\/etc\/init.d\/sockd tail<\/td>\n<td>sock \u65e5\u5fd7<\/td>\n<\/tr>\n<tr>\n<td>service sockd adduser<\/td>\n<td>\/etc\/init.d\/sockd adduser<\/td>\n<td>\u6dfb\u52a0pam-auth\u7528\u6237\uff1aservice sockd adduser NAME PASSWORD<\/td>\n<\/tr>\n<tr>\n<td>service sockd deluser<\/td>\n<td>\/etc\/init.d\/sockd deluser<\/td>\n<td>\u5220\u9664pam-auth\u7528\u6237\uff1aservice sockd deluser NAME<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8f6c\u8f7d\u81ea\uff1ahttps:\/\/sunpma.com\/724.html<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6d4b\u8bd5\u73af\u5883\uff0c\u4eac\u4e1c\u4e91\uff0ccentos 7.2 \u5b89\u88c5 yum update \u4e0b\u8f7d\u811a\u672c\uff1a wget &#8211;no-check [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itony.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":10,"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/itony.cc\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/itony.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itony.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itony.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}