mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
118 lines
6.1 KiB
HTML
118 lines
6.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head><meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<title>基本配置 - Trojan-Go Docs</title>
|
|
<meta name="description" content="An unidentifiable mechanism that helps you bypass GFW. ">
|
|
<meta name="generator" content="Hugo 0.69.2" />
|
|
<link href="https://p4gefau1t.github.io/trojan-goindex.xml" rel="alternate" type="application/rss+xml">
|
|
<link rel="canonical" href="https://p4gefau1t.github.io/trojan-go/basic/">
|
|
<link rel="stylesheet" href="https://p4gefau1t.github.io/trojan-go/css/theme.min.css">
|
|
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
|
<link rel="stylesheet" href="https://p4gefau1t.github.io/trojan-go/css/chroma.min.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js"></script>
|
|
<script src="https://p4gefau1t.github.io/trojan-go/js/bundle.js"></script><style>
|
|
:root {}
|
|
</style>
|
|
<meta property="og:title" content="基本配置" />
|
|
<meta property="og:description" content="An unidentifiable mechanism that helps you bypass GFW. " />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:url" content="https://p4gefau1t.github.io/trojan-go/basic/" />
|
|
<meta property="og:image" content="https://p4gefau1t.github.io/trojan-go/images/og-image.png"/>
|
|
<meta property="og:site_name" content="Trojan-Go Docs" />
|
|
<meta name="twitter:card" content="summary_large_image"/>
|
|
<meta name="twitter:image" content="https://p4gefau1t.github.io/trojan-go/images/og-image.png"/>
|
|
|
|
<meta name="twitter:title" content="基本配置"/>
|
|
<meta name="twitter:description" content="An unidentifiable mechanism that helps you bypass GFW. "/>
|
|
<meta itemprop="name" content="基本配置">
|
|
<meta itemprop="description" content="An unidentifiable mechanism that helps you bypass GFW. "></head>
|
|
<body><div class="container"><header>
|
|
<h1>Trojan-Go Docs</h1>
|
|
|
|
<span class="version">Version 0.4.12</span>
|
|
<a href="https://github.com/p4gefau1t/trojan-go" class="github"><i class="fab fa-github"></i></a>
|
|
<p class="description">An unidentifiable mechanism that helps you bypass GFW. </p>
|
|
|
|
</header>
|
|
<div class="global-menu">
|
|
<nav>
|
|
<ul>
|
|
<li><a href="/trojan-go/">Home</a></li>
|
|
<li><a href="https://github.com/p4gefau1t">GitHub</a></li></ul>
|
|
</nav>
|
|
</div>
|
|
<div class="content-container">
|
|
<main><h1>基本配置</h1><p>这一部分内容将介绍如何配置基本的Trojan-Go代理服务器和客户端。</p>
|
|
<div class="edit-meta">
|
|
|
|
<br><a href="https://github.com/p4gefau1t/trojan-go/docs/edit/master/content/basic/_index.md" class="edit-page"><i class="fas fa-pen-square"></i> Edit on GitHub</a></div><nav class="pagination"><a class="nav nav-prev" href="https://p4gefau1t.github.io/trojan-go/" title="简介"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - 简介</a>
|
|
<a class="nav nav-next" href="https://p4gefau1t.github.io/trojan-go/basic/trojan/" title="Trojan基本原理">Next - Trojan基本原理 <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
|
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
|
</footer>
|
|
</main><div class="sidebar">
|
|
|
|
<nav class="open-menu">
|
|
<ul>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go">Home</a></li>
|
|
|
|
<li class="parent active"><a href="https://p4gefau1t.github.io/trojan-go/basic/">基本配置</a>
|
|
|
|
<ul class="sub-menu">
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/basic/trojan/">Trojan基本原理</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/basic/config/">正确配置Trojan-Go</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/basic/full-config/">完整的配置文件</a></li>
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/">高级配置</a>
|
|
|
|
<ul class="sub-menu">
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/mux/">启用多路复用提升并发性能</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/websocket/">使用Websocket进行CDN转发和抵抗中间人攻击</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/router/">国内直连和广告屏蔽</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/relay/">流量中继</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/forward/">隧道和反向代理</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/advance/nginx-relay/">一种基于SNI代理的多路径分流中继方案</a></li>
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/">实现细节和开发指南</a>
|
|
|
|
<ul class="sub-menu">
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/overview/">基本介绍</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/build/">编译和自定义Trojan-Go</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/trojan/">Trojan协议</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/mux/">多路复用</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/websocket/">Websocket</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/simplesocks/">SimpleSocks协议</a></li>
|
|
<li class=""><a href="https://p4gefau1t.github.io/trojan-go/developer/api/">API</a></li>
|
|
</ul>
|
|
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="sidebar-footer"></div>
|
|
</div>
|
|
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
|
data-backtothetop-duration="600"
|
|
data-backtothetop-easing="easeOutQuart"
|
|
data-backtothetop-fixed-fadeIn="1000"
|
|
data-backtothetop-fixed-fadeOut="1000"
|
|
data-backtothetop-fixed-bottom="10"
|
|
data-backtothetop-fixed-right="20">
|
|
<span class="fa-layers fa-fw">
|
|
<i class="fas fa-circle"></i>
|
|
<i class="fas fa-arrow-circle-up"></i>
|
|
</span></a>
|
|
</div>
|
|
</body>
|
|
</html>
|