mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-02 18:58:26 +00:00
update
This commit is contained in:
337
docs/posts/cloudflare/index.html
Normal file
337
docs/posts/cloudflare/index.html
Normal file
@@ -0,0 +1,337 @@
|
||||
<!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/posts/cloudflare/">
|
||||
|
||||
|
||||
<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>Cloudflare使用简明教程 - GOPROXY IN ACTION</title>
|
||||
|
||||
<meta name="description" content="Cloudflare使用简明教程">
|
||||
|
||||
<meta property="og:title" content="Cloudflare使用简明教程 - GOPROXY IN ACTION">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://snail.gitee.io/proxy/posts/cloudflare/">
|
||||
<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="Cloudflare使用简明教程">
|
||||
<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/posts/cloudflare/">
|
||||
<meta name="twitter:title" content="Cloudflare使用简明教程 - GOPROXY IN ACTION">
|
||||
<meta name="twitter:description" content="Cloudflare使用简明教程">
|
||||
<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": "Cloudflare使用简明教程 - GOPROXY IN ACTION",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "2019-06-28T17:37:30JST",
|
||||
"dateModified": "2019-06-28T17:37:30JST",
|
||||
"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": "Cloudflare使用简明教程"
|
||||
}
|
||||
</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/posts/" itemprop="url"><span itemprop="title">posts</span></a></li>
|
||||
|
||||
<li class="active">Cloudflare使用简明教程</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-28T17:37:30JST">Jun 28, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h1 class="title">Cloudflare使用简明教程</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="article-body">
|
||||
|
||||
<h4 id="前言">前言</h4>
|
||||
|
||||
<p>GOPROXY底层传输协议支持ws,可以利用cdn加速,使用cdn需要域名解析知识以及cdn的一些知识,那么很多小伙伴对cdn不是很熟悉,为了更好的使用GOPROXY,就找了几个高质量的怎么使用cloudflare免费套餐的文章。</p>
|
||||
|
||||
<h4 id="教程">教程</h4>
|
||||
|
||||
<p>1.不需要修改域名DNS,可以直接使用二级域名加速:<a href="https://www.geekzu.cn/archives/free-cname-cloudflare-with-ssl.html">https://www.geekzu.cn/archives/free-cname-cloudflare-with-ssl.html</a></p>
|
||||
|
||||
<p>2.需要修改域名DNS,使用一级域名加速:<a href="https://ask.dobunkan.com/q-26886.html">https://ask.dobunkan.com/q-26886.html</a></p>
|
||||
|
||||
<p>3.<a href="/goproxy/posts/cloudflare/">域名解析 域名控制台+极客+cloudflare 的配置方法</a></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>
|
||||
|
||||
|
||||
|
||||
<section class="bordered">
|
||||
<header>
|
||||
<div class="panel-title">TAGS</div>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="p-terms">
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cdn/">CDN</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>
|
||||
|
||||
413
docs/posts/domain-cf/index.html
Normal file
413
docs/posts/domain-cf/index.html
Normal file
@@ -0,0 +1,413 @@
|
||||
<!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/posts/domain-cf/">
|
||||
|
||||
|
||||
<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>域名解析 域名控制台+极客+cloudflare 的配置方法 - GOPROXY IN ACTION</title>
|
||||
|
||||
<meta name="description" content="域名解析 域名控制台+极客+cloudflare 的配置方法">
|
||||
|
||||
<meta property="og:title" content="域名解析 域名控制台+极客+cloudflare 的配置方法 - GOPROXY IN ACTION">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://snail.gitee.io/proxy/posts/domain-cf/">
|
||||
<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="域名解析 域名控制台+极客+cloudflare 的配置方法">
|
||||
<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/posts/domain-cf/">
|
||||
<meta name="twitter:title" content="域名解析 域名控制台+极客+cloudflare 的配置方法 - GOPROXY IN ACTION">
|
||||
<meta name="twitter:description" content="域名解析 域名控制台+极客+cloudflare 的配置方法">
|
||||
<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": "域名解析 域名控制台\x2b极客\x2bcloudflare 的配置方法 - GOPROXY IN ACTION",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "2019-07-05T08:20:48JST",
|
||||
"dateModified": "2019-07-05T08:20:48JST",
|
||||
"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": "域名解析 域名控制台\x2b极客\x2bcloudflare 的配置方法"
|
||||
}
|
||||
</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/posts/" itemprop="url"><span itemprop="title">posts</span></a></li>
|
||||
|
||||
<li class="active">域名解析 域名控制台+极客+cloudflare 的配置方法</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<article class="single">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-07-05T08:20:48JST">Jul 5, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h1 class="title">域名解析 域名控制台+极客+cloudflare 的配置方法</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="article-body">
|
||||
|
||||
<h4 id="准备工作">准备工作</h4>
|
||||
|
||||
<p>本文综合的介绍了cloudflare注册使用,从域名解析到回源,完成了一个二级域使用cloudflare的CDN加速的配置过程。</p>
|
||||
|
||||
<p>首先你要去 cloudflare 官网 <a href="https://dash.cloudflare.com/sign-up">https://dash.cloudflare.com/sign-up</a> 注册一个账号,然后登录,提示你添加域名的时候,不要添加,略过即可。</p>
|
||||
|
||||
<h4 id="操作步骤">操作步骤</h4>
|
||||
|
||||
<p>前提有一顶级域名domain.com,有一VPS,IP地址为111.222.111.222,要求二级域名test.domain.com指向上述IP地址。</p>
|
||||
|
||||
<h5 id="1-在域名domain-com服务器上进行解析">1、在域名domain.com服务器上进行解析</h5>
|
||||
|
||||
<p>例如:</p>
|
||||
|
||||
<p>主记录:vps1</p>
|
||||
|
||||
<p>记录类型:A</p>
|
||||
|
||||
<p>记录值:111.222.111.222</p>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/1.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/1.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<h5 id="2-登陆https-su-geekzu-org平台">2、登陆<a href="https://su.geekzu.org平台">https://su.geekzu.org平台</a></h5>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/2.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/2.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/3.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/3.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/4.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/4.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/5.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/5.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<h5 id="3-点击编辑-添加-填写二级域名test-和回源地址-vps-domain-com到相应的位置-提交">3、点击编辑-》添加-》填写二级域名test,和回源地址:vps.domain.com到相应的位置-》提交</h5>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/6.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/6.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<h5 id="4-提交后会看到如下">4、提交后会看到如下:</h5>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/7.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/7.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<p>这时域名test.domain.com</p>
|
||||
|
||||
<p>回源地址:vps1.domain.com</p>
|
||||
|
||||
<p>CNAME地址:test.domain.com.cdn.cloudflare.net</p>
|
||||
|
||||
<h5 id="5-回到域名解析服务器">5、回到域名解析服务器</h5>
|
||||
|
||||
<p>主机记录:test
|
||||
记录类型:CNAME
|
||||
记录值(也就是上面的CNAME地址):test.domain.com.cdn.cloudflare.net</p>
|
||||
|
||||
<p>填写完成后保存即可。</p>
|
||||
|
||||
<figure>
|
||||
<img css="width:90%" src="https://snail.gitee.io/proxy/img/domain-cloudflare/8.png" alt="域名解析 域名控制台+极客+cloudflare 的配置方法 img/domain-cloudflare/8.png">
|
||||
|
||||
</figure>
|
||||
|
||||
<h5 id="6-如果需要开启ssl-需登陆到cloudflare-crypto-ssl-设置为full">6、如果需要开启ssl,需登陆到cloudflare,Crypto -> SSL ->设置为Full</h5>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
<section class="bordered">
|
||||
<header>
|
||||
<div class="panel-title">TAGS</div>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="p-terms">
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cdn/">cdn</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/domain/">domain</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/ws/">ws</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cloudflare/">cloudflare</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>
|
||||
|
||||
347
docs/posts/http-nat-cdn/index.html
Normal file
347
docs/posts/http-nat-cdn/index.html
Normal file
@@ -0,0 +1,347 @@
|
||||
<!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/posts/http-nat-cdn/">
|
||||
|
||||
|
||||
<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>内网穿透也能用CDN???! - GOPROXY IN ACTION</title>
|
||||
|
||||
<meta name="description" content="内网穿透通过CDN服务http服务">
|
||||
|
||||
<meta property="og:title" content="内网穿透也能用CDN???! - GOPROXY IN ACTION">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://snail.gitee.io/proxy/posts/http-nat-cdn/">
|
||||
<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="内网穿透通过CDN服务http服务">
|
||||
<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/posts/http-nat-cdn/">
|
||||
<meta name="twitter:title" content="内网穿透也能用CDN???! - GOPROXY IN ACTION">
|
||||
<meta name="twitter:description" content="内网穿透通过CDN服务http服务">
|
||||
<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": "内网穿透也能用CDN???! - GOPROXY IN ACTION",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "2019-06-28T17:02:57JST",
|
||||
"dateModified": "2019-06-28T17:02:57JST",
|
||||
"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": "内网穿透通过CDN服务http服务"
|
||||
}
|
||||
</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/posts/" itemprop="url"><span itemprop="title">posts</span></a></li>
|
||||
|
||||
<li class="active">内网穿透也能用CDN???!</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-28T17:02:57JST">Jun 28, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h1 class="title">内网穿透也能用CDN???!</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="article-body">
|
||||
|
||||
<h4 id="内网穿透之套cdn">内网穿透之套CDN</h4>
|
||||
|
||||
<p><strong>好处就不用说了吧,两个字稳!</strong></p>
|
||||
|
||||
<p>假如在windows上配置了可以访问的连接 <a href="http://127.0.0.1:801/abc/index.php">http://127.0.0.1:801/abc/index.php</a> , 如何能使用VPS+CDN做内网穿透呢?</p>
|
||||
|
||||
<p>配置如下:</p>
|
||||
|
||||
<h5 id="1-在vps上执行-配置无误后-再加上-daemon">1. 在VPS上执行(配置无误后,再加上–daemon)</h5>
|
||||
|
||||
<p><code>./proxy bridge -t ws -p ":8080" -C proxy.crt -K proxy.key</code></p>
|
||||
|
||||
<p><code>./proxy server -T ws -r ":8880@:801" -P "127.0.0.1:8080" -C proxy.crt -K proxy.key</code></p>
|
||||
|
||||
<h5 id="2-在windows上执行">2. 在windows上执行</h5>
|
||||
|
||||
<p><code>proxy.exe client -T ws -P "your.domain.com:8080" -C proxy.crt -K proxy.key</code></p>
|
||||
|
||||
<h5 id="3-这时在浏览器里访问-http-your-domain-com-8880-abc-index-php-就会看到电脑中的页面了">3. 这时在浏览器里访问:<a href="http://your.domain.com:8880/abc/index.php">http://your.domain.com:8880/abc/index.php</a> ,就会看到电脑中的页面了。</h5>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
<section class="bordered">
|
||||
<header>
|
||||
<div class="panel-title">TAGS</div>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="p-terms">
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F/">内网穿透</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cdn/">cdn</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>
|
||||
|
||||
411
docs/posts/http_cdn_ws/index.html
Normal file
411
docs/posts/http_cdn_ws/index.html
Normal file
@@ -0,0 +1,411 @@
|
||||
<!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/posts/http_cdn_ws/">
|
||||
|
||||
|
||||
<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>代理之套用CDN - GOPROXY IN ACTION</title>
|
||||
|
||||
<meta name="description" content="http代理前置CDN,保护你的后端代理">
|
||||
|
||||
<meta property="og:title" content="代理之套用CDN - GOPROXY IN ACTION">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://snail.gitee.io/proxy/posts/http_cdn_ws/">
|
||||
<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="http代理前置CDN,保护你的后端代理">
|
||||
<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/posts/http_cdn_ws/">
|
||||
<meta name="twitter:title" content="代理之套用CDN - GOPROXY IN ACTION">
|
||||
<meta name="twitter:description" content="http代理前置CDN,保护你的后端代理">
|
||||
<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": "代理之套用CDN - GOPROXY IN ACTION",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "2019-06-14T16:25:06JST",
|
||||
"dateModified": "2019-06-14T16:25:06JST",
|
||||
"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": "http代理前置CDN,保护你的后端代理"
|
||||
}
|
||||
</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/posts/" itemprop="url"><span itemprop="title">posts</span></a></li>
|
||||
|
||||
<li class="active">代理之套用CDN</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:25:06JST">Jun 14, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h1 class="title">代理之套用CDN</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="article-body">
|
||||
|
||||
<h3 id="goproxy代理之套用cdn">goproxy代理之套用CDN</h3>
|
||||
|
||||
<h4 id="准备">准备</h4>
|
||||
|
||||
<ol>
|
||||
<li>在VPS上<a href="https://github.com/snail007/goproxy/releases">下载</a>对应平台的执行文件,这里以Linux为例。<br /></li>
|
||||
<li>在电脑上<a href="https://github.com/snail007/goproxy/releases">下载</a>对应平台的执行文件,这里以Windows为例。<br /></li>
|
||||
</ol>
|
||||
|
||||
<h4 id="1-proxy本地http代理-ws-wss-cdn-ws-wss-vps的proxy提供的http代理">1. proxy本地http代理 <–ws\wss–> CDN <–ws\wss–> VPS的proxy提供的http代理</h4>
|
||||
|
||||
<p>1.1. VPS上的命令 ./proxy http -t ws -p “0.0.0.0:8080”</p>
|
||||
|
||||
<p>1.2 Cloudflare上的设置 Crypto -> SSL ->设置为Off</p>
|
||||
|
||||
<p>1.3 windows计算机上的命令 proxy.exe http -t tcp -p “0.0.0.0:8090” -T ws -P “your.domain.com:8080”</p>
|
||||
|
||||
<p>1.4 计算机上的代理设置 “127.0.0.1:8090 http”</p>
|
||||
|
||||
<h4 id="2-proxy本地http代理-ws-wss-cdn-ws-wss-vps的proxy提供的http代理">2. proxy本地http代理 <–ws\wss–> CDN <–ws\wss–> VPS的proxy提供的http代理</h4>
|
||||
|
||||
<p>2.1 VPS上的命令 ./proxy http -t wss -p “0.0.0.0:8443”</p>
|
||||
|
||||
<p>2.2 Cloudflare上的设置 Crypto -> SSL ->设置为Full</p>
|
||||
|
||||
<p>2.3 windows计算机上的命令 proxy.exe http -t tcp -p “0.0.0.0:8090” -T wss -P “your.domain.com:8443”</p>
|
||||
|
||||
<p>2.4 计算机上的代理设置 “127.0.0.1:8090 http”</p>
|
||||
|
||||
<h4 id="3-proxy本地http代理-ws-wss-cdn-ws-wss-vps的proxy提供的http-basic认证-代理-成功">3. proxy本地http代理 <–ws\wss–> CDN <–ws\wss–> VPS的proxy提供的http+Basic认证 代理 (成功)</h4>
|
||||
|
||||
<p>3.1 VPS上的命令 ./proxy http -t ws -p “0.0.0.0:8080” -a “user:pass”</p>
|
||||
|
||||
<p>3.2 Cloudflare上的设置 Crypto -> SSL ->设置为Off</p>
|
||||
|
||||
<p>3.3 windows计算机上的命令 proxy.exe http -t tcp -p “0.0.0.0:8090” -T ws -P “your.domain.com:8080”</p>
|
||||
|
||||
<p>3.4 计算机上的代理设置 “127.0.0.1:8090 http”</p>
|
||||
|
||||
<h4 id="4-proxy本地http代理-ws-wss-cdn-ws-wss-vps的proxy提供的http-加密方式-密码-代理-成功">4. proxy本地http代理 <–ws\wss–> CDN <–ws\wss–> VPS的proxy提供的http+加密方式+密码 代理 (成功)</h4>
|
||||
|
||||
<p>4.1 VPS上的命令 ./proxy http -t wss -p “0.0.0.0:8443” –parent-ws-method=“chacha20-ietf-poly1305” –parent-ws-password=“snail007/goproxy”</p>
|
||||
|
||||
<p>4.2 Cloudflare上的设置 Crypto -> SSL ->设置为Full</p>
|
||||
|
||||
<p>4.3 windows计算机上的命令 proxy.exe http -t tcp -p “0.0.0.0:8090” -T wss -P “your.domain.com:8443” –local-ws-method=“chacha20-ietf-poly1305” –local-ws-password=“snail007/goproxy”</p>
|
||||
|
||||
<p>4.4 计算机上的代理设置 “127.0.0.1:8090 http”</p>
|
||||
|
||||
<p>4.5 相关参数介绍 “–local-ws-method:加密方式–parent-ws-password:设置密码”</p>
|
||||
|
||||
<h4 id="5-proxy本地socks5代理-ws-wss-cdn-ws-wss-vps的proxy提供的socks5代理">5. proxy本地socks5代理 <–ws\wss–> CDN <–ws\wss–> VPS的proxy提供的socks5代理</h4>
|
||||
|
||||
<p>5.1 VPS上的命令 ./proxy socks -t ws -p “0.0.0.0:8080”</p>
|
||||
|
||||
<p>5.2 Cloudflare上的设置 Crypto -> SSL ->设置为Off</p>
|
||||
|
||||
<p>5.3 windows计算机上的命令 proxy.exe socks –always -t tcp -p “0.0.0.0:8090” -T ws -P “your.domain.com:8080”</p>
|
||||
|
||||
<p>5.4 计算机上的代理设置 “127.0.0.1:8090 socks5 [Remote DNS]”</p>
|
||||
|
||||
<h4 id="备注">备注</h4>
|
||||
|
||||
<p>1、Cloudflare支持的回源端口</p>
|
||||
|
||||
<pre><code class="language-text">HTTP 端口为:
|
||||
80
|
||||
8080
|
||||
8880
|
||||
2052
|
||||
2082
|
||||
2086
|
||||
2095
|
||||
HTTPs 端口为:
|
||||
443
|
||||
2053
|
||||
2083
|
||||
2087
|
||||
2096
|
||||
8443
|
||||
</code></pre>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
<section class="bordered">
|
||||
<header>
|
||||
<div class="panel-title">TAGS</div>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="p-terms">
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cdn/">cdn</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/ws/">ws</a></li>
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/cloudflare/">cloudflare</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>
|
||||
|
||||
304
docs/posts/index.html
Normal file
304
docs/posts/index.html
Normal file
@@ -0,0 +1,304 @@
|
||||
<!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="alternate" type="application/rss+xml" title="RSS" href="https://snail.gitee.io/proxy/posts/index.xml">
|
||||
|
||||
<link rel="canonical" href="https://snail.gitee.io/proxy/posts/">
|
||||
|
||||
|
||||
<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>Posts - GOPROXY IN ACTION</title>
|
||||
|
||||
<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">
|
||||
|
||||
|
||||
<header class="page-header">
|
||||
<h1>Posts</h1>
|
||||
</header>
|
||||
|
||||
|
||||
<ul class="p-articles">
|
||||
|
||||
<li><article class="li">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-07-05T08:20:48JST">Jul 5, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
<h2 class="title"><a href="https://snail.gitee.io/proxy/posts/domain-cf/">域名解析 域名控制台+极客+cloudflare 的配置方法</a></h2>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="summary">准备工作 本文综合的介绍了cloudflare注册使用,从域名解析到回源,完成了一个二级域使用cloudflare的CDN加速的配置过程。 首先</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="https://snail.gitee.io/proxy/posts/domain-cf/" title="域名解析 域名控制台+极客+cloudflare 的配置方法">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</li>
|
||||
|
||||
<li><article class="li">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-07-04T17:54:31JST">Jul 4, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
<h2 class="title"><a href="https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/">在windows下实现基于dns的自动全局代理</a></h2>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="summary">在windows下实现基于dns的自动全局代理。 本方法需要监听本地80和443端口,所以如果你有程序占用了这两个端口,请关闭相应的程序。 本文</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/" title="在windows下实现基于dns的自动全局代理">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</li>
|
||||
|
||||
<li><article class="li">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-28T17:37:30JST">Jun 28, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
<h2 class="title"><a href="https://snail.gitee.io/proxy/posts/cloudflare/">Cloudflare使用简明教程</a></h2>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="summary">前言 GOPROXY底层传输协议支持ws,可以利用cdn加速,使用cdn需要域名解析知识以及cdn的一些知识,那么很多小伙伴对cdn不是很熟悉</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="https://snail.gitee.io/proxy/posts/cloudflare/" title="Cloudflare使用简明教程">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</li>
|
||||
|
||||
<li><article class="li">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-28T17:02:57JST">Jun 28, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
<h2 class="title"><a href="https://snail.gitee.io/proxy/posts/http-nat-cdn/">内网穿透也能用CDN???!</a></h2>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="summary">内网穿透之套CDN 好处就不用说了吧,两个字稳! 假如在windows上配置了可以访问的连接 http://127.0.0.1:801/abc/index.php , 如何能使用VPS+CDN做内网穿透呢? 配置如下:</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="https://snail.gitee.io/proxy/posts/http-nat-cdn/" title="内网穿透也能用CDN???!">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</li>
|
||||
|
||||
<li><article class="li">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-14T16:25:06JST">Jun 14, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
<h2 class="title"><a href="https://snail.gitee.io/proxy/posts/http_cdn_ws/">代理之套用CDN</a></h2>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="summary">goproxy代理之套用CDN 准备 在VPS上下载对应平台的执行文件,这里以Linux为例。 在电脑上下载对应平台的执行文件,这里以Window</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="https://snail.gitee.io/proxy/posts/http_cdn_ws/" title="代理之套用CDN">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</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>
|
||||
|
||||
60
docs/posts/index.xml
Normal file
60
docs/posts/index.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on GOPROXY IN ACTION</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/</link>
|
||||
<description>Recent content in Posts on GOPROXY IN ACTION</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>zh-CN</language>
|
||||
<lastBuildDate>Fri, 05 Jul 2019 08:20:48 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://snail.gitee.io/proxy/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>域名解析 域名控制台+极客+cloudflare 的配置方法</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/domain-cf/</link>
|
||||
<pubDate>Fri, 05 Jul 2019 08:20:48 +0800</pubDate>
|
||||
|
||||
<guid>https://snail.gitee.io/proxy/posts/domain-cf/</guid>
|
||||
<description>准备工作 本文综合的介绍了cloudflare注册使用,从域名解析到回源,完成了一个二级域使用cloudflare的CDN加速的配置过程。 首先</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>在windows下实现基于dns的自动全局代理</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/</link>
|
||||
<pubDate>Thu, 04 Jul 2019 17:54:31 +0800</pubDate>
|
||||
|
||||
<guid>https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/</guid>
|
||||
<description>在windows下实现基于dns的自动全局代理。 本方法需要监听本地80和443端口,所以如果你有程序占用了这两个端口,请关闭相应的程序。 本文</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Cloudflare使用简明教程</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/cloudflare/</link>
|
||||
<pubDate>Fri, 28 Jun 2019 17:37:30 +0800</pubDate>
|
||||
|
||||
<guid>https://snail.gitee.io/proxy/posts/cloudflare/</guid>
|
||||
<description>前言 GOPROXY底层传输协议支持ws,可以利用cdn加速,使用cdn需要域名解析知识以及cdn的一些知识,那么很多小伙伴对cdn不是很熟悉</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>内网穿透也能用CDN???!</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/http-nat-cdn/</link>
|
||||
<pubDate>Fri, 28 Jun 2019 17:02:57 +0800</pubDate>
|
||||
|
||||
<guid>https://snail.gitee.io/proxy/posts/http-nat-cdn/</guid>
|
||||
<description>内网穿透之套CDN 好处就不用说了吧,两个字稳! 假如在windows上配置了可以访问的连接 http://127.0.0.1:801/abc/index.php , 如何能使用VPS+CDN做内网穿透呢? 配置如下:</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>代理之套用CDN</title>
|
||||
<link>https://snail.gitee.io/proxy/posts/http_cdn_ws/</link>
|
||||
<pubDate>Fri, 14 Jun 2019 16:25:06 +0800</pubDate>
|
||||
|
||||
<guid>https://snail.gitee.io/proxy/posts/http_cdn_ws/</guid>
|
||||
<description>goproxy代理之套用CDN 准备 在VPS上下载对应平台的执行文件,这里以Linux为例。 在电脑上下载对应平台的执行文件,这里以Window</description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
1
docs/posts/page/1/index.html
Normal file
1
docs/posts/page/1/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><title>https://snail.gitee.io/proxy/posts/</title><link rel="canonical" href="https://snail.gitee.io/proxy/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://snail.gitee.io/proxy/posts/" /></head></html>
|
||||
391
docs/posts/windows-global-proxy-using-dns/index.html
Normal file
391
docs/posts/windows-global-proxy-using-dns/index.html
Normal file
@@ -0,0 +1,391 @@
|
||||
<!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/posts/windows-global-proxy-using-dns/">
|
||||
|
||||
|
||||
<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>在windows下实现基于dns的自动全局代理 - GOPROXY IN ACTION</title>
|
||||
|
||||
<meta name="description" content="在windows下实现基于dns的自动全局代理">
|
||||
|
||||
<meta property="og:title" content="在windows下实现基于dns的自动全局代理 - GOPROXY IN ACTION">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://snail.gitee.io/proxy/posts/windows-global-proxy-using-dns/">
|
||||
<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="在windows下实现基于dns的自动全局代理">
|
||||
<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/posts/windows-global-proxy-using-dns/">
|
||||
<meta name="twitter:title" content="在windows下实现基于dns的自动全局代理 - GOPROXY IN ACTION">
|
||||
<meta name="twitter:description" content="在windows下实现基于dns的自动全局代理">
|
||||
<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": "在windows下实现基于dns的自动全局代理 - GOPROXY IN ACTION",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https:\/\/snail.gitee.io\/proxy\/images\/default.png",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "2019-07-04T17:54:31JST",
|
||||
"dateModified": "2019-07-04T17:54:31JST",
|
||||
"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": "在windows下实现基于dns的自动全局代理"
|
||||
}
|
||||
</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/posts/" itemprop="url"><span itemprop="title">posts</span></a></li>
|
||||
|
||||
<li class="active">在windows下实现基于dns的自动全局代理</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<article class="single">
|
||||
<header>
|
||||
<ul class="p-facts">
|
||||
<li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-07-04T17:54:31JST">Jul 4, 2019</time></li>
|
||||
<li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail.gitee.io/proxy/posts/">posts</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h1 class="title">在windows下实现基于dns的自动全局代理</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="article-body">
|
||||
|
||||
<h3 id="在windows下实现基于dns的自动全局代理">在windows下实现基于dns的自动全局代理。</h3>
|
||||
|
||||
<p>本方法需要监听本地80和443端口,所以如果你有程序占用了这两个端口,请关闭相应的程序。</p>
|
||||
|
||||
<p>本文提供了两种方式:1.使用CDN作为中间传输层 2.不使用CDN;根据自己情况二选一即可。</p>
|
||||
|
||||
<h4 id="1-正常配置篇">1.正常配置篇</h4>
|
||||
|
||||
<p>服务端为机器A</p>
|
||||
|
||||
<p>1、在上级服务端执行:</p>
|
||||
|
||||
<p><code>./proxy http -t ws -p 0.0.0.0:8443 —-daemon</code></p>
|
||||
|
||||
<p>3、在电脑上:</p>
|
||||
|
||||
<p>1)修改proxy目录下面的hosts文件,该文件和proxy.exe程序一起。</p>
|
||||
|
||||
<p>添加如下内容:</p>
|
||||
|
||||
<pre><code class="language-text">127.0.0.1 **.**
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p>2)修改本地网络连接的dns地址为127.0.0.1。</p>
|
||||
|
||||
<p>3)本机启动一个二级sps监听80和443。</p>
|
||||
|
||||
<p><code>proxy.exe sps -P httpws://IP_A:8443 -p :80,:443 -q 8.8.8.8:53</code></p>
|
||||
|
||||
<p>4)本地启动一个dns监听53 <code>.\proxy.exe dns -P http://127.0.0.1:80 --hosts .\hosts</code> 。</p>
|
||||
|
||||
<h4 id="2-配合cdn配置篇">2.配合CDN配置篇</h4>
|
||||
|
||||
<p>1、配置好cloudflare,CDN加速域名为:your.domain.com。</p>
|
||||
|
||||
<p>2、在上级服务端执行:</p>
|
||||
|
||||
<p>首先生成证书:</p>
|
||||
|
||||
<p><code>proxy keygen -C proxy</code></p>
|
||||
|
||||
<p>然后:</p>
|
||||
|
||||
<p><code>./proxy http -t wss -p 0.0.0.0:8443 —-daemon</code></p>
|
||||
|
||||
<p>3、在电脑上:</p>
|
||||
|
||||
<p>1)修改proxy目录下面的hosts文件,该文件和proxy.exe程序一起。</p>
|
||||
|
||||
<p>添加如下内容:</p>
|
||||
|
||||
<pre><code class="language-text">111.222.111.222 your.domain.com
|
||||
|
||||
127.0.0.1 **.**
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p>2)修改本地网络连接的dns地址为127.0.0.1。</p>
|
||||
|
||||
<p>3)本机启动一个二级sps监听80和443。</p>
|
||||
|
||||
<p><code>proxy.exe sps -P httpwss://your.domain.com:8443 -p :80,:443 -q 8.8.8.8:53</code></p>
|
||||
|
||||
<p>4)本地启动一个dns监听53 <code>.\proxy.exe dns -P http://127.0.0.1:80 -—hosts .\hosts</code> 。</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>
|
||||
|
||||
|
||||
|
||||
<section class="bordered">
|
||||
<header>
|
||||
<div class="panel-title">TAGS</div>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="p-terms">
|
||||
|
||||
<li><a href="https://snail.gitee.io/proxy/tags/%E5%85%A8%E5%B1%80%E4%BB%A3%E7%90%86/">全局代理</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>
|
||||
|
||||
Reference in New Issue
Block a user