返回列表 發帖

V2Ray Server Installed on Raspberry Pi 3B

本帖最後由 角色 於 2018-6-28 17:19 編輯

因为最近大陆block VPN block得非常厉害,所以我们需要别的方便去翻墙,而我们尽量不用VPN,因为现在VPN非常给GFW识别,所以我们要有别的方案,但是大家也可以mod机,但是很多members都不会mod机,所以我在家里建议大家可以考虑使用Raspberry Pi(现在的model是3B+,我用是3B)。



请看上图,我们在大陆,如果在大街小巷和在大陆暂居之所,通过WiFi或者data能上网的,我们手机只要安装V2Ray的client就可以连到香港的V2Ray Server。经常要使用Whatsapp这类的软件与香港亲友联系,如果家里有个V2Ray server,这个server可以帮到你。而且安装非常简单,最重要不需要什么mod机(因为在mod机过程中,分分钟router变砖!!!),你server安装完,根本不需要调整就可以用。(一个账号,可以多个device使用)。

现在整个设计是用用TCP 443 port,所以香港的router也要做TCP 443 port forwarding to Raspberry Pi 3B box。
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

本帖最後由 角色 於 2018-6-29 12:22 編輯

在香港你可以Element 14, 或者RS,如果你在大陆,可以考虑用下面一家:我选套装B(case + heat sink),我看过网页如果是3B+,没有套餐B。3B与3B+主要分别是3B+是gigbit LAN (300Mbps),而3B就是100Mbps。

Wiki Raspberry Pi
https://en.wikipedia.org/wiki/Raspberry_Pi

https://item.taobao.com/item.htm ... &_u=r2opncndf7a

有了Raspberry Pi 3B or 3B+


1. Install  Raspbian
https://www.raspberrypi.org/downloads/raspbian/

2. apt-get update
  1. apt-get update
複製代碼
.

3. apt-get upgrade
  1. apt-get upgrade
複製代碼
.

4. Download and install V2Ray
  1. bash <(curl -L -s https://install.direct/go.sh)
複製代碼
.

5. Start the V2Ray Service
  1. service v2ray start
複製代碼
.

整个安装过程非常简单,每次安装他都提供一组default的account,每一次都不一样,所以大家把刚安装贴出来也没有什么问题。

6. Set fixed IP address of Raspberry Pi 3B
7. Router needs port forwarding to the fixed IP Raspberry Pi 3B
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

本帖最後由 角色 於 2018-6-28 10:04 編輯

因为我用RouterOS,tcp 443 port to 192.168.88.10 tcp port 443,CLI commands如下:
  1. /ip firewall nat
  2. add action=dst-nat chain=dstnat dst-port=443 in-interface=ether1-gateway \
  3.     protocol=tcp to-addresses=192.168.88.10 to-ports=443
複製代碼
.

in-interface=ether1-gateway, 有的Routerboards可能是in-interface=ether1

TOP

备用帖子4

TOP

本帖最後由 角色 於 2018-6-28 20:20 編輯

Other Applications:

Airplay
https://blog.e9china.net/share/j ... ongnengshixian.html

TOP

可能很多members想,有了这个V2Ray Server后,怎样翻墙呢?

后面的工作就简单很多了!

TOP

How to change dhcp mode to fixed IP mode?

https://blog.csdn.net/u011973222/article/details/72843127

TOP

这里有很多高手,我呢?都是一般般,但是可以带领一些新的members入门,想起我在10年前,突然在大陆看不到太阳报开始学习网络,特别在VPN这方面,那么时候在EPC那里学到不少的东西,很多CHing都写了很多帖子。在EPC那里,如果你多写东西,EPC的版主不鼓励,而且老删走和改写你的帖子,动不动就ban members,所以我离开EPC,做CD-ROM。

在这里,有很多非常优秀的members都在这里写帖子,其实目的只有一个就是分享自己的心得,希望写出来的帖子能帮助其他members起步。还有这里没有什么利益关系,不会动不动改动或者删改你的帖子。(如果是搞破坏的就例外)。

你可以新开一副帖子,说说你怎样学工业PC,要注意什么,还有怎样起ESXi等等问题,估计有些members会朝着你的方向走。

这里虽然人数少,但是文章比较精辟。EPC那里就口水比较多,技术帖子几乎没有了!很多members因为写技术帖子而被ban死。

TOP

现在有了上面的Raspberry Pi 3B + V2Ray方案,起码可以解决一大批问题,特别是在大陆用WhatsAPP的members。而你有了香港的V2Ray Server,你notebook,或者其他devices都可以安装适当的V2Ray clients。

TOP

The answer is yes.

TOP

The maximum download speed is 20Mbps, which is limited by the local system. The upload speed is not very satisfactory, which is around 1Mbps, which is abnormal as compared to the previous tests carried out.

TOP

如果没有大陆的干扰是没有问题的。

TOP

差不错运行2个月都非常稳定,所以RouterOS + V2Ray这个组合十非常好的。

TOP

service v2ray status

文件在/etc/v2ray/config.json

TOP

There are some settings in v2rayNG which allow you to direct the traffic locally or the remote gateway. For details, please take a look at the Setting of the rightmost top (three vertical dots) icon.

TOP

返回列表