-
Notifications
You must be signed in to change notification settings - Fork 6
/
vpn.html
813 lines (356 loc) · 31.7 KB
/
vpn.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
<!DOCTYPE HTML>
<html lang="zh-hans" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>搭建 VPN 翻墙 · 科学上网翻墙教程 | SPhard</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<meta name="author" content="SPhard">
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-sunlight-highlighter/sunlight.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="vpn-error.html" />
<link rel="prev" href="brook/android.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="输入并搜索" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="./">
<a href="./">
简介
</a>
</li>
<li class="chapter " data-level="1.2" data-path="gfw/gfw1.html">
<a href="gfw/gfw1.html">
什么是GFW
</a>
</li>
<li class="chapter " data-level="1.3" data-path="gfw/gfw2.html">
<a href="gfw/gfw2.html">
为什么要翻墙
</a>
</li>
<li class="chapter " data-level="1.4" data-path="free/free.html">
<a href="free/free.html">
免费翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.4.1" data-path="free/vpn.html">
<a href="free/vpn.html">
免费VPN
</a>
</li>
<li class="chapter " data-level="1.4.2" data-path="free/ssr.html">
<a href="free/ssr.html">
免费ss/ssr
</a>
</li>
<li class="chapter " data-level="1.4.3" data-path="free/Lantern.html">
<a href="free/Lantern.html">
Android破解版蓝灯Lantern
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.5" data-path="tizi.html">
<a href="tizi.html">
自己建梯子
</a>
<ul class="articles">
<li class="chapter " data-level="1.5.1" data-path="vps.html">
<a href="vps.html">
购买服务器
</a>
</li>
<li class="chapter " data-level="1.5.2" data-path="lianjie.html">
<a href="lianjie.html">
连接服务器
</a>
</li>
<li class="chapter " data-level="1.5.3" data-path="wenti.html">
<a href="wenti.html">
连接服务器常见问题
</a>
</li>
<li class="chapter " data-level="1.5.4" data-path="passwd.html">
<a href="passwd.html">
修改Vultr服务器密码
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.6" data-path="ping-IP.html">
<a href="ping-IP.html">
怎样 ping IP地址
</a>
</li>
<li class="chapter " data-level="1.7" data-path="ss/ss.html">
<a href="ss/ss.html">
搭建 ss 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="ss/Windows.html">
<a href="ss/Windows.html">
Windows上使用ss
</a>
</li>
<li class="chapter " data-level="1.7.2" data-path="ss/linux.html">
<a href="ss/linux.html">
Linux上使用ss
</a>
</li>
<li class="chapter " data-level="1.7.3" data-path="ss/android.html">
<a href="ss/android.html">
Android上使用ss
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.8" data-path="ssr/ssr.html">
<a href="ssr/ssr.html">
搭建 ssr 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.8.1" data-path="ssr/Windows.html">
<a href="ssr/Windows.html">
Windows上使用ssr
</a>
</li>
<li class="chapter " data-level="1.8.2" data-path="ssr/linux.html">
<a href="ssr/linux.html">
Linux上使用ssr
</a>
</li>
<li class="chapter " data-level="1.8.3" data-path="ssr/android.html">
<a href="ssr/android.html">
Android上使用ssr
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.9" data-path="brook/brook.html">
<a href="brook/brook.html">
搭建 Brook 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.9.1" data-path="brook/windows.html">
<a href="brook/windows.html">
Windows上使用Brook
</a>
</li>
<li class="chapter " data-level="1.9.2" data-path="brook/android.html">
<a href="brook/android.html">
Android上使用Brook
</a>
</li>
</ul>
</li>
<li class="chapter active" data-level="1.10" data-path="vpn.html">
<a href="vpn.html">
搭建 VPN 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.10.1" data-path="vpn-error.html">
<a href="vpn-error.html">
连不上VPN?
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.11" data-path="V2ray/V2ray.html">
<a href="V2ray/V2ray.html">
搭建 V2ray 翻墙
</a>
<ul class="articles">
<li class="chapter " data-level="1.11.1" data-path="V2ray/Ubuntu.html">
<a href="V2ray/Ubuntu.html">
Ubuntu下使用V2ray
</a>
</li>
<li class="chapter " data-level="1.11.2" data-path="V2ray/Windows.html">
<a href="V2ray/Windows.html">
Windows下使用V2ray
</a>
</li>
<li class="chapter " data-level="1.11.3" data-path="V2ray/Android.html">
<a href="V2ray/Android.html">
Android下使用V2ray
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.12" data-path="Outline/Outline.html">
<a href="Outline/Outline.html">
搭建 Outline 翻墙
</a>
</li>
<li class="chapter " data-level="1.13" data-path="luyouqi.html">
<a href="luyouqi.html">
路由器翻墙
</a>
</li>
<li class="chapter " data-level="1.14" data-path="Shadowsocks.html">
<a href="Shadowsocks.html">
Shadowsocks相关知识
</a>
</li>
<li class="chapter " data-level="1.15" data-path="hosts-dns.html">
<a href="hosts-dns.html">
hosts&DNS工作原理
</a>
</li>
<li class="chapter " data-level="1.16" data-path="end.html">
<a href="end.html">
结语
</a>
</li>
<li class="chapter " data-level="1.17" >
<a target="_blank" href="https://sphard.com/thanks">
感谢
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
本书使用 GitBook 发布
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >搭建 VPN 翻墙</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="自建vpn翻墙">自建VPN翻墙</h1>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/PdAYlMIyICk" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<iframe width="100%" height="415" src="//player.bilibili.com/player.html?aid=35190247&cid=61657860&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
<p>本教程是以 Ubuntu server 为例子,如果你用的是其他系统,请使用对应的安装软件的命令<br>
如果你使用的不是 root 账号,那么在安装软件的时候可能会出现权限不够,可以通过 sudo 来增加权限解决问题</p>
<h1 id="安装pptpd">安装pptpd</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-10-line-1" href="#sunlight-10-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">apt</span><span class="sunlight-operator">-</span><span class="sunlight-ident">get</span> <span class="sunlight-command">install</span> <span class="sunlight-ident">pptpd</span>
</span></pre></div></div></code></pre>
<h1 id="修改文件-etcpptpdconf">修改文件 /etc/pptpd.conf</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-11-line-1" href="#sunlight-11-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">vi</span> <span class="sunlight-operator">/</span><span class="sunlight-ident">etc</span><span class="sunlight-operator">/</span><span class="sunlight-ident">pptpd</span><span class="sunlight-operator">.</span><span class="sunlight-ident">conf</span>
</span></pre></div></div></code></pre>
<p>找到 <code># TAG: localip</code> 一行,在后面添加以下2行</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-12-line-1" href="#sunlight-12-line-1">1</a>
<a name="sunlight-12-line-2" href="#sunlight-12-line-2">2</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">localip</span> <span class="sunlight-number">192.168</span><span class="sunlight-number">.0</span><span class="sunlight-number">.1</span> 
<span class="sunlight-ident">remoteip</span> <span class="sunlight-number">192.168</span><span class="sunlight-number">.0</span><span class="sunlight-number">.234</span><span class="sunlight-operator">-</span><span class="sunlight-number">238</span><span class="sunlight-operator">,</span><span class="sunlight-number">192.168</span><span class="sunlight-number">.0</span><span class="sunlight-number">.245</span>
</span></pre></div></div></code></pre>
<h1 id="修改文件-etcppppptpd-options">修改文件 /etc/ppp/pptpd-options</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-13-line-1" href="#sunlight-13-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">vi</span> <span class="sunlight-operator">/</span><span class="sunlight-ident">etc</span><span class="sunlight-operator">/</span><span class="sunlight-ident">ppp</span><span class="sunlight-operator">/</span><span class="sunlight-ident">pptpd</span><span class="sunlight-operator">-</span><span class="sunlight-ident">options</span>
</span></pre></div></div></code></pre>
<p>找到 <code>#ms-dns</code> 这行,去掉前面的#号,修改成 Google 提供的 DNS server 或其他 DNS</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-14-line-1" href="#sunlight-14-line-1">1</a>
<a name="sunlight-14-line-2" href="#sunlight-14-line-2">2</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">ms</span><span class="sunlight-operator">-</span><span class="sunlight-ident">dns</span> <span class="sunlight-number">8.8</span><span class="sunlight-number">.8</span><span class="sunlight-number">.8</span> 
<span class="sunlight-ident">ms</span><span class="sunlight-operator">-</span><span class="sunlight-ident">dns</span> <span class="sunlight-number">8.8</span><span class="sunlight-number">.4</span><span class="sunlight-number">.4</span>
</span></pre></div></div></code></pre>
<h1 id="修改文件-etcpppchap-secrets">修改文件 /etc/ppp/chap-secrets</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-15-line-1" href="#sunlight-15-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">vi</span> <span class="sunlight-operator">/</span><span class="sunlight-ident">etc</span><span class="sunlight-operator">/</span><span class="sunlight-ident">ppp</span><span class="sunlight-operator">/</span><span class="sunlight-ident">chap</span><span class="sunlight-operator">-</span><span class="sunlight-ident">secrets</span>
</span></pre></div></div></code></pre>
<p>按一行四列添加账号、服务器名、密码和IP限制。服务器名(默认 写 pptpd 即可,务必与 pptpd-options 文件的 name 一行一样)<br>
如: 创建一个名为 <code>user</code>,密码为 <code>userpasswd</code> ,不限制登录 IP 的 VPN 账号</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-16-line-1" href="#sunlight-16-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">user</span> <span class="sunlight-ident">pptpd</span> <span class="sunlight-ident">userpasswd</span> <span class="sunlight-operator">*</span>
</span></pre></div></div></code></pre>
<h1 id="修改文件-etcsysctlconf">修改文件 /etc/sysctl.conf</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-17-line-1" href="#sunlight-17-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">vi</span> <span class="sunlight-operator">/</span><span class="sunlight-ident">etc</span><span class="sunlight-operator">/</span><span class="sunlight-ident">sysctl</span><span class="sunlight-operator">.</span><span class="sunlight-ident">conf</span>
</span></pre></div></div></code></pre>
<p>找到 <code>#net.ipv4.ip_forward=1</code> 这一行,删掉 # 号,开启 ipv4 forward</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-18-line-1" href="#sunlight-18-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">sysctl</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">p</span>
</span></pre></div></div></code></pre>
<p>运行后会显示 net.ipv4.ip_forward = 1,就表示修改生效了</p>
<h1 id="安装-iptables">安装 iptables</h1>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-19-line-1" href="#sunlight-19-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">apt</span><span class="sunlight-operator">-</span><span class="sunlight-ident">get</span> <span class="sunlight-command">install</span> <span class="sunlight-ident">iptables</span>
</span></pre></div></div></code></pre>
<p>执行下面这条命令前先用 <code>ifconfig</code> 查看一下自己系统的网卡名, 如果网卡名是 <code>eth0</code> 就可以直接执行下面这条命令,如果不是,就请把下面命令里的 <code>eth0</code> 换成你自己的网卡名</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-20-line-1" href="#sunlight-20-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-ident">iptables</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">t</span> <span class="sunlight-ident">nat</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">A</span> <span class="sunlight-ident">POSTROUTING</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">s</span> <span class="sunlight-number">192.168</span><span class="sunlight-number">.0</span><span class="sunlight-number">.0</span><span class="sunlight-operator">/</span><span class="sunlight-number">24</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">o</span> <span class="sunlight-ident">eth0</span> <span class="sunlight-operator">-</span><span class="sunlight-ident">j</span> <span class="sunlight-ident">MASQUERADE</span>
</span></pre></div></div></code></pre>
<p>上面的24表示子网掩码,代表24个1</p>
<h1 id="完成">完成</h1>
<p>不放心的话可以重启 pptpd</p>
<pre><code class="lang-bash"><div class="sunlight-container sunlight-theme-dark"><div class="sunlight-code-container" style="border-width: 1px; border-style: solid;"><div class="sunlight-line-number-margin"><a name="sunlight-21-line-1" href="#sunlight-21-line-1">1</a>
</div><pre class="sunlight-highlight-bash sunlight-highlighted"><span class="sunlight-bash"><span class="sunlight-operator">/</span><span class="sunlight-ident">etc</span><span class="sunlight-operator">/</span><span class="sunlight-command">init</span><span class="sunlight-operator">.</span><span class="sunlight-ident">d</span><span class="sunlight-operator">/</span><span class="sunlight-ident">pptpd</span> <span class="sunlight-ident">restart</span>
</span></pre></div></div></code></pre>
<p><a href="https://www.vultr.com/?ref=7775614-4F" target="_blank"><img src="https://www.vultr.com/media/banner_1.png" width="100%" height="90"></a></p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> By <a href="https://sphard.com" target="_blank">https://sphard.com</a> </span>            <span class="page-footer-ex-footer-update"> 最后更新: 2019-04-13 10:40:11 </span> </footer>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="brook/android.html" class="navigation navigation-prev " aria-label="Previous page: Android上使用Brook">
<i class="fa fa-angle-left"></i>
</a>
<a href="vpn-error.html" class="navigation navigation-next " aria-label="Next page: 连不上VPN?">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"搭建 VPN 翻墙","level":"1.10","depth":1,"next":{"title":"连不上VPN?","level":"1.10.1","depth":2,"path":"vpn-error.md","ref":"vpn-error.md","articles":[]},"previous":{"title":"Android上使用Brook","level":"1.9.2","depth":2,"path":"brook/android.md","ref":"brook/android.md","articles":[]},"dir":"ltr"},"config":{"plugins":["donate","adsense","page-footer-ex","sunlight-highlighter","livereload"],"root":".","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"livereload":{},"page-footer-ex":{"copyright":"By [https://sphard.com](https://sphard.com)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"最后更新: "},"search":{},"adsense":{"client":"ca-pub-7115184053783576","slot":"3505263189","format":"auto","element":".page-inner section","position":"top"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"https://sphard.com/images/alipay.jpg","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"https://sphard.com/images/wechatpay.jpg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"lineNumbers":true,"theme":"dark"}},"theme":"default","author":"SPhard","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"科学上网翻墙教程 | SPhard","language":"zh-hans","gitbook":"*","description":"科学上网翻墙教程 | SPhard"},"file":{"path":"vpn.md","mtime":"2019-04-13T02:40:11.708Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-14T07:18:04.060Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
<script src="gitbook/gitbook.js"></script>
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
<script src="gitbook/gitbook-plugin-adsense/plugin.js"></script>
<script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="gitbook/gitbook-plugin-search/search.js"></script>
<script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>