-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathV2Ray-03.html
1 lines (1 loc) · 30.5 KB
/
V2Ray-03.html
1
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta name="theme-color" content="#222"><meta name="generator" content="Hexo 5.4.0"><link rel="apple-touch-icon" sizes="180x180" href="/images/favicon-32x32.png"><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"><link rel="mask-icon" href="/images/favicon-32x32.png" color="#222"><link rel="stylesheet" href="/css/main.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css" integrity="sha256-2H3fkXt6FEmrReK448mDVGKb3WW2ZZw35gI7vqHOE4Y=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css" integrity="sha256-Vzbj7sDDS/woiFS3uNKo8eIuni59rjyNGtXfstRzStA=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/nprogress.css" integrity="sha256-no0c5ccDODBwp+9hSmV5VvPpKwHCpbVzXHexIkupM6U=" crossorigin="anonymous"><script src="https://cdn.jsdelivr.net/npm/[email protected]/nprogress.js" integrity="sha256-a5YRB27CcBwBFcT5EF/f3E4vzIqyHrSR878nseNYw64=" crossorigin="anonymous"></script><script class="next-config" data-name="main" type="application/json">{"hostname":"www.wrysmile.cn","root":"/","images":"/images","scheme":"Gemini","version":"8.5.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":true,"bookmark":{"enable":true,"color":"#222","save":"manual"},"fancybox":true,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script><meta name="description" content="介绍 本教程是 V2ray 搭建服务器的进阶教程,该教程与基础教程不同,所以需要重新配置服务端 本教程中的部分内容引用了 网络跳越 与 tlanyan 的部分内容,如侵权,请联系我进行删除 注意:请不要进行任何商业行为,产生任何后果都与本人无关"><meta property="og:type" content="article"><meta property="og:title" content="小白教程:V2Ray搭建服务器之进阶优化教程"><meta property="og:url" content="https://www.wrysmile.cn/V2Ray-03.html"><meta property="og:site_name" content="Wrysmile 的博客"><meta property="og:description" content="介绍 本教程是 V2ray 搭建服务器的进阶教程,该教程与基础教程不同,所以需要重新配置服务端 本教程中的部分内容引用了 网络跳越 与 tlanyan 的部分内容,如侵权,请联系我进行删除 注意:请不要进行任何商业行为,产生任何后果都与本人无关"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://i.loli.net/2020/05/31/jaVDbWfcFn5qHTC.png"><meta property="og:image" content="https://i.loli.net/2020/05/31/8BsM6hzo9OUSuJm.png"><meta property="og:image" content="https://i.loli.net/2020/05/31/vOFASDXCc3Z8BgL.png"><meta property="og:image" content="https://i.loli.net/2020/05/31/NtBxsVwb4zWfXLv.png"><meta property="og:image" content="https://i.loli.net/2019/09/29/EIUijtAshe1v3Fd.png"><meta property="og:image" content="https://i.loli.net/2019/09/29/5VM8sCzcR1Z3Sl4.png"><meta property="og:image" content="https://i.loli.net/2019/09/29/C73JeSh89dOBlRt.png"><meta property="og:image" content="https://i.loli.net/2019/09/29/Vcs13OxhWMmUgSP.png"><meta property="article:published_time" content="2020-03-17T08:06:15.000Z"><meta property="article:modified_time" content="2023-01-31T10:23:56.203Z"><meta property="article:author" content="Zhang Yangeng"><meta property="article:tag" content="服务器"><meta property="article:tag" content="翻墙"><meta property="article:tag" content="V2Ray"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://i.loli.net/2020/05/31/jaVDbWfcFn5qHTC.png"><link rel="canonical" href="https://www.wrysmile.cn/V2Ray-03.html"><script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"https://www.wrysmile.cn/V2Ray-03.html","path":"V2Ray-03.html","title":"小白教程:V2Ray搭建服务器之进阶优化教程"}</script><script class="next-config" data-name="calendar" type="application/json">""</script><title>小白教程:V2Ray搭建服务器之进阶优化教程 | Wrysmile 的博客</title><script>!function(e,t,o,c,i,a,n){e.DaoVoiceObject=i,e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].l=+new Date,a=t.createElement(o),n=t.getElementsByTagName(o)[0],a.async=1,a.src=c,a.charset="utf-8",n.parentNode.insertBefore(a,n)}(window,document,"script",("https:"==document.location.protocol?"https:":"http:")+"//widget.daovoice.io/widget/13e39436.js","daovoice"),daovoice("init",{app_id:"13e39436"}),daovoice("update")</script><noscript><link rel="stylesheet" href="/css/noscript.css"></noscript><link rel="alternate" href="/atom.xml" title="Wrysmile 的博客" type="application/atom+xml"></head><body itemscope itemtype="http://schema.org/WebPage" class="use-motion"><div class="headband"></div><main class="main"><header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="header-inner"><div class="site-brand-container"><div class="site-nav-toggle"><div class="toggle" aria-label="切换导航栏" role="button"><span class="toggle-line"></span> <span class="toggle-line"></span> <span class="toggle-line"></span></div></div><div class="site-meta"><a href="/" class="brand" rel="start"><i class="logo-line"></i><h1 class="site-title">Wrysmile 的博客</h1><i class="logo-line"></i></a><p class="site-subtitle" itemprop="description">欢迎来到我的个人小屋</p><img class="custom-logo-image" src="/images/favicon-32x32.png" alt="Wrysmile 的博客"></div><div class="site-nav-right"><div class="toggle popup-trigger"><i class="fa fa-search fa-fw fa-lg"></i></div></div></div><nav class="site-nav"><ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-search"><a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索</a></li></ul></nav><div class="search-pop-overlay"><div class="popup search-popup"><div class="search-header"><span class="search-icon"><i class="fa fa-search"></i></span><div class="search-input-container"><input autocomplete="off" autocapitalize="off" maxlength="80" placeholder="搜索..." spellcheck="false" type="search" class="search-input"></div><span class="popup-btn-close" role="button"><i class="fa fa-times-circle"></i></span></div><div class="search-result-container no-result"><div class="search-result-icon"><i class="fa fa-spinner fa-pulse fa-5x"></i></div></div></div></div></div><div class="toggle sidebar-toggle" role="button"><span class="toggle-line"></span> <span class="toggle-line"></span> <span class="toggle-line"></span></div><aside class="sidebar"><div class="sidebar-inner sidebar-nav-active sidebar-toc-active"><ul class="sidebar-nav"><li class="sidebar-nav-toc">文章目录</li><li class="sidebar-nav-overview">站点概览</li></ul><div class="sidebar-panel-container"><div class="post-toc-wrap sidebar-panel"><div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link"><span class="nav-text">介绍</span></a></li><li class="nav-item nav-level-1"><a class="nav-link"><span class="nav-text">一、前提条件</span></a></li><li class="nav-item nav-level-1"><a class="nav-link"><span class="nav-text">二、脚本一键部署(第一种)</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1-%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90"><span class="nav-text">1.域名解析</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5%E6%9C%8D%E5%8A%A1%E5%99%A8"><span class="nav-text">2.远程连接服务器</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3-%E5%AE%89%E8%A3%85v2ray"><span class="nav-text">3.安装v2ray</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4-%E5%BC%80%E5%90%AFBBR%E5%8A%A0%E9%80%9F"><span class="nav-text">4.开启BBR加速</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link"><span class="nav-text">三、脚本一键部署(第二种)</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1-%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90-2"><span class="nav-text">1.域名解析</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-%E6%9C%AA%E5%AE%8C%E5%BE%85%E7%BB%AD"><span class="nav-text">2.未完待续</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link"><span class="nav-text">本系列文章</span></a></li></ol></div></div><div class="site-overview-wrap sidebar-panel"><div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person"><img class="site-author-image" itemprop="image" alt="Zhang Yangeng" src="/images/avatar.jpg"><p class="site-author-name" itemprop="name">Zhang Yangeng</p><div class="site-description" itemprop="description">保持独立思考,不卑不亢不怂,长成自己想要的样子!</div></div><div class="site-state-wrap site-overview-item animated"><nav class="site-state"><div class="site-state-item site-state-posts"><a href="/archives/"><span class="site-state-item-count">69</span> <span class="site-state-item-name">日志</span></a></div><div class="site-state-item site-state-categories"><a href="/categories/"><span class="site-state-item-count">13</span> <span class="site-state-item-name">分类</span></a></div><div class="site-state-item site-state-tags"><a href="/tags/"><span class="site-state-item-count">52</span> <span class="site-state-item-name">标签</span></a></div></nav></div><div class="links-of-author site-overview-item animated"><span class="links-of-author-item"><a href="https://github.com/zhangyangeng" title="GitHub → https://github.com/zhangyangeng" rel="external nofollow noopener noreferrer" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span><span class="links-of-author-item"><a href="https://weibo.com/u/2294901673" title="weibo → https://weibo.com/u/2294901673" rel="external nofollow noopener noreferrer" target="_blank"><i class="fab fa-weibo fa-fw"></i>weibo</a></span></div><div class="cc-license site-overview-item animated" itemprop="license"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/zh-cn" class="cc-opacity" rel="external nofollow noopener noreferrer" target="_blank"><img src="https://cdn.jsdelivr.net/npm/@creativecommons/[email protected]/assets/license_badges/small/by_nc_sa.svg" alt="Creative Commons"></a></div><div class="links-of-blogroll site-overview-item animated"><div class="links-of-blogroll-title"><i class="fa fa-globe fa-fw"></i> 推荐网站</div><ul class="links-of-blogroll-list"><li class="links-of-blogroll-item"><a href="http://topbook.cc/" title="http://topbook.cc/" rel="external nofollow noopener noreferrer" target="_blank">Topbook</a></li></ul></div></div></div></div></aside><div class="sidebar-dimmer"></div></header><div class="back-to-top" role="button" aria-label="返回顶部"><i class="fa fa-arrow-up"></i> <span>0%</span></div><div class="reading-progress-bar"></div><a role="button" class="book-mark-link book-mark-link-fixed"></a><noscript><div class="noscript-warning">Theme NexT works best with JavaScript enabled</div></noscript><div class="main-inner post posts-expand"><div class="post-block"><article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN"><link itemprop="mainEntityOfPage" href="https://www.wrysmile.cn/V2Ray-03.html"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/avatar.jpg"><meta itemprop="name" content="Zhang Yangeng"><meta itemprop="description" content="保持独立思考,不卑不亢不怂,长成自己想要的样子!"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="Wrysmile 的博客"></span><header class="post-header"><h1 class="post-title" itemprop="name headline">小白教程:V2Ray搭建服务器之进阶优化教程</h1><div class="post-meta-container"><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2020-03-17 16:06:15" itemprop="dateCreated datePublished" datetime="2020-03-17T16:06:15+08:00">2020-03-17</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间:2023-01-31 18:23:56" itemprop="dateModified" datetime="2023-01-31T18:23:56+08:00">2023-01-31</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-folder"></i> </span><span class="post-meta-item-text">分类于</span> <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91/" itemprop="url" rel="index"><span itemprop="name">科学上网</span></a> </span></span><span id="/V2Ray-03.html" class="post-meta-item leancloud_visitors" data-flag-title="小白教程:V2Ray搭建服务器之进阶优化教程" title="阅读次数"><span class="post-meta-item-icon"><i class="far fa-eye"></i> </span><span class="post-meta-item-text">阅读次数:</span> <span class="leancloud-visitors-count"></span></span></div><div class="post-meta"><span class="post-meta-item" title="本文字数"><span class="post-meta-item-icon"><i class="far fa-file-word"></i> </span><span class="post-meta-item-text">本文字数:</span> <span>1.4k</span> </span><span class="post-meta-item" title="阅读时长"><span class="post-meta-item-icon"><i class="far fa-clock"></i> </span><span class="post-meta-item-text">阅读时长 ≈</span> <span>1 分钟</span></span></div></div></header><div class="post-body" itemprop="articleBody"><h1>介绍</h1><ul class="lvl-0"><li class="lvl-2">本教程是 V2ray 搭建服务器的进阶教程,该教程与基础教程不同,所以需要重新配置服务端</li><li class="lvl-2">本教程中的部分内容引用了 <a target="_blank" rel="external nofollow noopener noreferrer" href="https://www.hijk.pw/">网络跳越</a> 与 <a target="_blank" rel="external nofollow noopener noreferrer" href="https://tlanyan.me/">tlanyan</a> 的部分内容,如侵权,请联系我进行删除</li><li class="lvl-2"><font color="#FF0000">注意:请不要进行任何商业行为,产生任何后果都与本人无关</font><span id="more"></span></li></ul><h1>一、前提条件</h1><ul class="lvl-0"><li class="lvl-2"><p>一台境外的 vps,购买可参考该系列文章的第一篇</p></li><li class="lvl-2"><p>一个域名,无备案要求(备案可使用国内CDN加速,但意味着万一有事,被喝茶更容易)。域名购买可参考:<a target="_blank" rel="external nofollow noopener noreferrer" href="https://www.hijk.pw/namesilo-buy-domain-tutorial/">Namesilo购买域名详细教程</a> 或从 <a target="_blank" rel="external nofollow noopener noreferrer" href="https://tlanyan.me/domain-register-for-mainland/">适合国人的域名注册商推荐</a> 选购</p></li><li class="lvl-2"><p>为域名申请一个证书,可以用免费的Let’s Encrypt证书,参考:<a target="_blank" rel="external nofollow noopener noreferrer" href="https://tlanyan.me/use-lets-encrypt-certificate/">使用Let’s Encrypt的免费证书</a></p></li><li class="lvl-2"><p>有基本linux技巧,能使用vim/nano等编辑器</p></li></ul><h1>二、脚本一键部署(第一种)</h1><h2 id="1-域名解析">1.域名解析</h2><ul class="lvl-0"><li class="lvl-2"><p>我这里因为有一个域名且解析到了现在的博客上,所以我直接采用的二级域名进行配置</p></li><li class="lvl-2"><p>方法雷同:进入阿里云的域名控制服务台,将我的二级域名 <code>xxx.wrysmile.cn</code> 解析到了我的服务器的ipv4的地址上</p></li></ul><h2 id="2-远程连接服务器">2.远程连接服务器</h2><ul class="lvl-0"><li class="lvl-2"><p>在我上个教程中写到了使用 Xshell 远程登录到你的国外服务器上,需要的请翻上篇教程</p></li></ul><h2 id="3-安装v2ray">3.安装v2ray</h2><ul class="lvl-0"><li class="lvl-2"><p>复制下面的代码,在 Xshell 黑色命令行中右键粘贴,按回车进行安装。<font color="#FF0000">注意:命令行中不可以用 Ctrl+V 快捷键进行粘贴</font></p></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">bash <(curl -s -L https://git.io/v2ray.sh)</span><br></pre></td></tr></table></figure><ul class="lvl-0"><li class="lvl-2"><p>选择传输协议:这里选择第四个 <code>WebSocket+TLS</code></p></li><li class="lvl-2"><p>选择端口号:端口号自己随意设置,脚本提示不能选择80和443端口,这里我直接设置为 <code>38222</code><br><img src="https://i.loli.net/2020/05/31/jaVDbWfcFn5qHTC.png" alt="进阶01.png"></p></li><li class="lvl-2"><p>输入域名:将第一步解析好的域名完整的写入,然后确认无误按y回车<br><img src="https://i.loli.net/2020/05/31/8BsM6hzo9OUSuJm.png" alt="进阶02.png"></p></li><li class="lvl-2"><p>自动配置TLS:这里新手建议直接选择自动配置<br><img src="https://i.loli.net/2020/05/31/vOFASDXCc3Z8BgL.png" alt="进阶03.png"></p></li><li class="lvl-2"><p>网站伪装和路径分流:分流地址建议使用二级地址或者一级较长的名字,这里我使用的是 <code>/wrysmile</code> ;网站伪装地址自行设置即可<br><img src="https://i.loli.net/2020/05/31/NtBxsVwb4zWfXLv.png" alt="进阶04.png"></p></li><li class="lvl-2"><p>选择广告拦截:建议不要开启,开启广告拦截会消耗服务器资源</p></li><li class="lvl-2"><p>选择开启SS:建议开启,iOS 端没有 V2Ray 客户端,可以借由 SS 客户端进行登陆,所以需要开启 SS<br><img src="https://i.loli.net/2019/09/29/EIUijtAshe1v3Fd.png" alt="5配置SS.png"></p></li><li class="lvl-2"><p>选择 SS 端口号:依然自己随意设置,但不可以和上面的 V2Ray 端口号一样,这里我直接设置为 <code>10086</code><br><img src="https://i.loli.net/2019/09/29/5VM8sCzcR1Z3Sl4.png" alt="6S端口.png"></p></li><li class="lvl-2"><p>设置 SS 连接密码:只要自己能记住即可<br><img src="https://i.loli.net/2019/09/29/C73JeSh89dOBlRt.png" alt="7SS密码.png"></p></li><li class="lvl-2"><p>选择 SS 加密协议:推荐使用默认的,我这里使用的另一种。这个其实因人而异,建议有时间每个都试一下,看看哪个更快点,相比较而言,cha 更为安全一些<br><img src="https://i.loli.net/2019/09/29/Vcs13OxhWMmUgSP.png" alt="8加密协议.png"></p></li><li class="lvl-2"><p>配置完成以后,会让你进行核对,然后直接两次回车,静待几分钟即可完成服务器搭建。</p></li><li class="lvl-2"><p><span id="jump">完成界面如下,在命令行中输入 <code>v2ray</code> 即可进行相应的配置</span></p></li></ul><h2 id="4-开启BBR加速">4.开启BBR加速</h2><ul class="lvl-0"><li class="lvl-2"><p>关于这部分内容,我在基础教程中也写到了,debian系统无需设置,centos和Ubuntu都需要单独开启,具体内容请看基础部分</p></li></ul><h1>三、脚本一键部署(第二种)</h1><h2 id="1-域名解析-2">1.域名解析</h2><ul class="lvl-0"><li class="lvl-2"><p>我这里因为有一个域名且解析到了现在的博客上,所以我直接采用的二级域名进行配置</p></li><li class="lvl-2"><p>方法雷同:进入阿里云的域名控制服务台,将我的二级域名 <code>xxx.wrysmile.cn</code> 解析到了我的服务器的ipv4的地址上</p></li></ul><h2 id="2-未完待续">2.未完待续</h2><h1>本系列文章</h1><ul class="lvl-0"><li class="lvl-2"><p>想要了解V2Ray的服务器购买教程请移步这里:<a href="/V2Ray-01.html" title="[小白教程:V2Ray搭建服务器之服务器的购买]">[小白教程:V2Ray搭建服务器之服务器的购买]</a></p></li><li class="lvl-2"><p>想要了解V2Ray的基础搭建教程请移步这里:<a href="/V2Ray-02.html" title="[小白教程:V2Ray搭建服务器之基础搭建教程]">[小白教程:V2Ray搭建服务器之基础搭建教程]</a></p></li><li class="lvl-2"><p>想要了解V2Ray的拓展资料请移步这里:<a href="/V2Ray-04.html" title="[小白教程:V2Ray搭建服务器之拓展资料]">[小白教程:V2Ray搭建服务器之拓展资料]</a></p></li></ul></div><footer class="post-footer"><div class="my_post_copyright"><script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script><script src="https://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script><script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script><p><span>本文标题:</span><a href="/V2Ray-03.html">小白教程:V2Ray搭建服务器之进阶优化教程</a></p><p><span>文章作者:</span><a href="/" title="访问 Zhang Yangeng 的个人博客">Zhang Yangeng</a></p><p><span>发布时间:</span>2020年03月17日 - 16:03</p><p><span>最后更新:</span>2023年01月31日 - 18:01</p><p><span>许可协议:</span><i class="fab fa-creative-commons"></i> <a rel="external nofollow noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank" title="Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)">署名-非商业性使用-禁止演绎 4.0 国际</a></p><p><span>注意事项:</span>转载请保留原文链接及作者,请尊重作者的劳动成果</p><p><span>原始链接:</span><a href="/V2Ray-03.html" title="小白教程:V2Ray搭建服务器之进阶优化教程">https://www.wrysmile.cn/V2Ray-03.html</a> <span class="copy-path" title="点击复制文章链接"><i class="fa fa-clipboard" data-clipboard-text="https://www.wrysmile.cn/V2Ray-03.html" aria-label="复制成功!"></i></span></p></div><script>var clipboard=new Clipboard(".fa-clipboard");$(".fa-clipboard").click(function(){clipboard.on("success",function(){swal({title:"",text:"复制成功",icon:"success",showConfirmButton:!0})})})</script><div class="reward-container"><div>坚持原创技术分享,您的支持将是对我最大的鼓励!</div><button onclick='document.querySelector(".post-reward").classList.toggle("active")'>赞赏</button><div class="post-reward"><div><img src="https://s2.ax1x.com/2019/01/28/kKrX7T.png" alt="Zhang Yangeng 微信"> <span>微信</span></div><div><img src="https://i.loli.net/2019/01/25/5c4ac75f2e5b7.jpg" alt="Zhang Yangeng 支付宝"> <span>支付宝</span></div></div></div><div class="post-tags"><a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/" rel="tag"><i class="fa fa-tag"></i> 服务器</a> <a href="/tags/%E7%BF%BB%E5%A2%99/" rel="tag"><i class="fa fa-tag"></i> 翻墙</a> <a href="/tags/V2Ray/" rel="tag"><i class="fa fa-tag"></i> V2Ray</a></div><div class="post-nav"><div class="post-nav-item"><a href="/Oneplus.html" rel="prev" title="玩机:一加刷机一站式教程"><i class="fa fa-chevron-left"></i> 玩机:一加刷机一站式教程</a></div><div class="post-nav-item"><a href="/V2Ray-04.html" rel="next" title="小白教程:V2Ray搭建服务器之拓展资料">小白教程:V2Ray搭建服务器之拓展资料 <i class="fa fa-chevron-right"></i></a></div></div></footer></article></div><div class="comments" id="lv-container" data-id="city" data-uid="MTAyMC80MjQ5Ni8xOTA0Mw=="></div></div></main><footer class="footer"><div class="footer-inner"><div class="copyright">© 2019 – <span itemprop="copyrightYear">2023</span> <span class="with-love"><i class="fa fa-heart"></i> </span><span class="author" itemprop="copyrightHolder">Wrysmile</span></div><div class="wordcount"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="fa fa-chart-line"></i> </span><span>站点总字数:</span> <span title="站点总字数">413k</span> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="fa fa-coffee"></i> </span><span>站点阅读时长 ≈</span> <span title="站点阅读时长">6:15</span></span></div><div class="busuanzi-count"><span class="post-meta-item" id="busuanzi_container_site_uv"><span class="post-meta-item-icon"><i class="fa fa-user"></i> </span><span class="site-uv" title="总访客量"><span id="busuanzi_value_site_uv"></span> </span></span><span class="post-meta-item" id="busuanzi_container_site_pv"><span class="post-meta-item-icon"><i class="fa fa-eye"></i> </span><span class="site-pv" title="总访问量"><span id="busuanzi_value_site_pv"></span></span></span></div><script color="0,0,255" opacity="0.5" zindex="-1" count="99" src="https://cdn.jsdelivr.net/npm/canvas-nest.js@1/dist/canvas-nest.js"></script><script type="text/javascript">!function(e,r){function t(){for(var e=0;e<n.length;e++)n[e].alpha<=0?(r.body.removeChild(n[e].el),n.splice(e,1)):(n[e].y--,n[e].scale+=.004,n[e].alpha-=.013,n[e].el.style.cssText="left:"+n[e].x+"px;top:"+n[e].y+"px;opacity:"+n[e].alpha+";transform:scale("+n[e].scale+","+n[e].scale+") rotate(45deg);background:"+n[e].color+";z-index:99999");requestAnimationFrame(t)}var o,n=[];e.requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},function(t){var a=r.createElement("style");a.type="text/css";try{a.appendChild(r.createTextNode(t))}catch(e){a.styleSheet.cssText=t}r.getElementsByTagName("head")[0].appendChild(a)}(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),o="function"==typeof e.onclick&&e.onclick,e.onclick=function(e){var t,a;o&&o(),t=e,(a=r.createElement("div")).className="heart",n.push({el:a,x:t.clientX-5,y:t.clientY-5,scale:1,alpha:1,color:"rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"}),r.body.appendChild(a)},t()}(window,document)</script><script type="text/javascript">var titleTime,OriginTitle=document.title;document.addEventListener("visibilitychange",function(){document.hidden?($('[rel="icon"]').attr("href","/img/TEP.ico"),document.title="╭(°A°`)╮ 页面崩溃啦 ~",clearTimeout(titleTime)):($('[rel="icon"]').attr("href","/favicon.ico"),document.title="(ฅ>ω<*ฅ) 噫又好了~"+OriginTitle,titleTime=setTimeout(function(){document.title=OriginTitle},2e3))})</script></div></footer><script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js" integrity="sha256-yt2kYMy0w8AbtF89WXb2P1rfjcP/HTHLT7097U8Y5b8=" crossorigin="anonymous"></script><script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script><script src="/js/bookmark.js"></script><script src="/js/third-party/search/local-search.js"></script><script class="next-config" data-name="nprogress" type="application/json">{"enable":true,"spinner":false}</script><script src="/js/third-party/nprogress.js"></script><script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><script class="next-config" data-name="leancloud_visitors" type="application/json">{"enable":true,"app_id":"mzhbgeWR9BA3SvqtvaAJulC1-gzGzoHsz","app_key":"xcGndtx2gmyop5yrT6euUk9G","server_url":null,"security":false}</script><script src="/js/third-party/statistics/lean-analytics.js"></script><script src="/js/third-party/comments/livere.js"></script></body></html>