|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="pinterest" content="nopin">
|
|
|
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
|
|
<meta name="generator" content="Hugo 0.56.3" />
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="canonical" href="https://snail.gitee.io/proxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/">
|
|
|
|
|
|
|
|
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
|
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
|
|
|
<title>常见问题解答 - GOPROXY IN ACTION</title>
|
|
|
|
|
|
<meta name="description" content="goproxy常见问答">
|
|
|
|
|
|
<meta property="og:title" content="常见问题解答 - GOPROXY IN ACTION">
|
|
|
<meta property="og:type" content="article">
|
|
|
<meta property="og:url" content="https://snail.gitee.io/proxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/">
|
|
|
<meta property="og:image" content="https://snail.gitee.io/proxy/images/default.png">
|
|
|
<meta property="og:site_name" content="GOPROXY IN ACTION">
|
|
|
<meta property="og:description" content="goproxy常见问答">
|
|
|
<meta property="og:locale" content="zh_CN">
|
|
|
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
<meta name="twitter:site" content="GOPROXY IN ACTION">
|
|
|
<meta name="twitter:url" content="https://snail.gitee.io/proxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/">
|
|
|
<meta name="twitter:title" content="常见问题解答 - GOPROXY IN ACTION">
|
|
|
<meta name="twitter:description" content="goproxy常见问答">
|
|
|
<meta name="twitter:image" content="https://snail.gitee.io/proxy/images/default.png">
|
|
|
|
|
|
|
|
|
<script type="application/ld+json">
|
|
|
{
|
|
|
"@context": "http://schema.org",
|
|
|
"@type": "NewsArticle",
|
|
|
"mainEntityOfPage": {
|
|
|
"@type": "WebPage",
|
|
|
"@id":"https:\/\/snail.gitee.io\/proxy\/"
|
|
|
},
|
|
|
"headline": "常见问题解答 - GOPROXY IN ACTION",
|
|
|
"image": {
|
|
|
"@type": "ImageObject",
|
|
|
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
|
|
"height": 800,
|
|
|
"width": 800
|
|
|
},
|
|
|
"datePublished": "2019-06-14T16:29:13JST",
|
|
|
"dateModified": "2019-06-14T16:29:13JST",
|
|
|
"author": {
|
|
|
"@type": "Person",
|
|
|
"name": "GOPROXY IN ACTION"
|
|
|
},
|
|
|
"publisher": {
|
|
|
"@type": "Organization",
|
|
|
"name": "GOPROXY IN ACTION",
|
|
|
"logo": {
|
|
|
"@type": "ImageObject",
|
|
|
"url": "https:\/\/snail.gitee.io\/proxy\/images/logo.png",
|
|
|
"width": 600,
|
|
|
"height": 60
|
|
|
}
|
|
|
},
|
|
|
"description": "goproxy常见问答"
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<link href="https://snail.gitee.io/proxy/css/styles.css" rel="stylesheet">
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<header class="l-header">
|
|
|
<nav class="navbar navbar-default">
|
|
|
<div class="container">
|
|
|
<div class="navbar-header">
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
<span class="icon-bar"></span>
|
|
|
<span class="icon-bar"></span>
|
|
|
<span class="icon-bar"></span>
|
|
|
</button>
|
|
|
<a class="navbar-brand" href="https://snail.gitee.io/proxy/">GOPROXY IN ACTION</a>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<div id="navbar" class="collapse navbar-collapse">
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
|
|
|
|
|
<li><a href="https://github.com/snail007/goproxy/releases/">下载</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="https://snail007.github.io/goproxy/manual/zh/#/">完全手册</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="https://snail007.github.io/goproxy/categories/goproxy%E6%89%8B%E5%86%8C/">新版手册</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="/proxy/about/">关于</a></li>
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
</nav>
|
|
|
</header>
|
|
|
|
|
|
<main>
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
|
|
|
<nav class="p-crumb">
|
|
|
<ol class="breadcrumb">
|
|
|
<li><a href="https://snail.gitee.io/proxy/"><i class="fa fa-home" aria-hidden="true"></i></a></li>
|
|
|
|
|
|
<li itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="https://snail.gitee.io/proxy/page/" itemprop="url"><span itemprop="title">page</span></a></li>
|
|
|
|
|
|
<li class="active">常见问题解答</li>
|
|
|
</ol>
|
|
|
</nav>
|
|
|
|
|
|
<article class="single">
|
|
|
<header>
|
|
|
<ul class="p-facts">
|
|
|
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-14T16:29:13JST">Jun 14, 2019</time></li>
|
|
|
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/page/">page</a></li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
<h1 class="title">常见问题解答</h1>
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="article-body">
|
|
|
|
|
|
<h3 id="问-http代理支持https网站吗">问:http代理支持https网站吗?</h3>
|
|
|
|
|
|
<p>答:goproxy的http代理同时支持http和https网站。</p>
|
|
|
|
|
|
<h3 id="问-socks5代理支持udp吗">问:socks5代理支持UDP吗?</h3>
|
|
|
|
|
|
<p>答:goproxy的socks5代理是完全按着<a href="https://tools.ietf.org/html/rfc1928">rfc1982</a>草案实现的,支持UDP功能,草案规定UDP端口是在代理握手请求过程中服务端动态指定的,不需要提前指定。如果你使用的socks5客户端是标准客户端,是不需要你手动指定UDP端口的。</p>
|
|
|
|
|
|
<h3 id="问-什么是http代理-https代理">问:什么是http代理?https代理?</h3>
|
|
|
|
|
|
<p>答:无论是<code>http代理</code>还是<code>https代理</code>,都支持同时代理访问<code>http</code>和<code>https</code>网站。<br />
|
|
|
<code>http代理</code>和<code>https代理</code>里的http和https和你访问的网站是否是http(https)是无关的。<br />
|
|
|
<code>http代理</code>:客户端和代理服务器之间是<code>tcp</code>传输数据。<br />
|
|
|
<code>https代理</code>:客户端和代理服务器之间是<code>tls</code>加密传输数据。<br />
|
|
|
http代理是使用最广泛的代理,大部分客户端都不支持https代理。</p>
|
|
|
|
|
|
<h3 id="问-goproxy的http代理是http代理还是https代理">问:goproxy的http代理是http代理还是https代理?</h3>
|
|
|
|
|
|
<p>答:goproxy支持http代理,https代理,https双向认证代理。<br />
|
|
|
至于提供什么类型的代理,是参数<code>-t</code>决定的:<br />
|
|
|
http代理 :<code>-t tcp</code><br />
|
|
|
https代理:<code>-t tls --local-tls-single</code>,服务端需要设置tls证书。<br />
|
|
|
https双向认证代理:<code>-t tls</code>,服务端和客户端都需要设置一样的tls证书。</p>
|
|
|
</div>
|
|
|
|
|
|
<footer class="article-footer">
|
|
|
|
|
|
|
|
|
|
|
|
<section class="bordered">
|
|
|
<header>
|
|
|
<div class="panel-title">CATEGORIES</div>
|
|
|
</header>
|
|
|
<div>
|
|
|
<ul class="p-terms">
|
|
|
|
|
|
<li><a href="https://snail.gitee.io/proxy/categories/%E9%BB%98%E8%AE%A4%E5%88%86%E7%B1%BB/">默认分类</a></li>
|
|
|
|
|
|
</ul>
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
<script type="application/javascript">
|
|
|
var disqus_config = function () {
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
(function() {
|
|
|
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
|
|
|
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
|
|
|
return;
|
|
|
}
|
|
|
var d = document, s = d.createElement('script'); s.async = true;
|
|
|
s.src = '//' + "goproxy" + '.disqus.com/embed.js';
|
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
|
(d.head || d.body).appendChild(s);
|
|
|
})();
|
|
|
</script>
|
|
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
|
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
<aside class="l-sidebar">
|
|
|
|
|
|
<section class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
<div class="panel-title">LATESTS</div>
|
|
|
</div>
|
|
|
<div class="list-group">
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/usage/first/" class="list-group-item">手册前言(使用必读)</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/page/free_vs_commercial/" class="list-group-item">GOPROXY免费版VS商业版</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/" class="list-group-item">常见问题解答</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/posts/domain-cf/" class="list-group-item">域名解析 域名控制台+极客+cloudflare 的配置方法</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/" class="list-group-item">在windows下实现基于dns的自动全局代理</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/usage/tcp/" class="list-group-item">TCP代理</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/posts/cloudflare/" class="list-group-item">Cloudflare使用简明教程</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/posts/http-nat-cdn/" class="list-group-item">内网穿透也能用CDN???!</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/page/free_vs_commercial_en/" class="list-group-item">GOPROXY Free Version VS Commercial Version</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/posts/http_cdn_ws/" class="list-group-item">代理之套用CDN</a>
|
|
|
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
|
|
|
<section class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
<div class="panel-title">CATEGORY</div>
|
|
|
</div>
|
|
|
<div class="list-group">
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/categories/%E9%BB%98%E8%AE%A4%E5%88%86%E7%B1%BB" class="list-group-item">默认分类</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/categories/goproxy%E6%89%8B%E5%86%8C" class="list-group-item">goproxy手册</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/categories/%E6%9E%B6%E6%9E%84%E8%A7%A3%E8%AF%B4" class="list-group-item">架构解说</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/categories/%E7%BB%86%E8%AF%B4%E5%B1%82%E7%BA%A7" class="list-group-item">细说层级</a>
|
|
|
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
<section class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
<div class="panel-title">TAG</div>
|
|
|
</div>
|
|
|
<div class="list-group">
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/cdn" class="list-group-item">cdn</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/ws" class="list-group-item">ws</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/cloudflare" class="list-group-item">cloudflare</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/%E5%95%86%E4%B8%9A%E7%89%88" class="list-group-item">商业版</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/commercial" class="list-group-item">commercial</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/domain" class="list-group-item">domain</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/tcp" class="list-group-item">tcp</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/%E5%85%A8%E5%B1%80%E4%BB%A3%E7%90%86" class="list-group-item">全局代理</a>
|
|
|
|
|
|
<a href="https://snail.gitee.io/proxy/tags/%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F" class="list-group-item">内网穿透</a>
|
|
|
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</main>
|
|
|
|
|
|
<footer class="l-footer">
|
|
|
<div class="container">
|
|
|
<p><span class="h-logo">© GOPROXY IN ACTION</span></p>
|
|
|
</div>
|
|
|
</footer>
|
|
|
|
|
|
<script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
<script>
|
|
|
$(function(){
|
|
|
$("img[css]").each(function(){
|
|
|
$(this).attr("style",$(this).attr("css"));
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|
|
|
|