返回列表 發帖
如果你用X86 ROS, 里面有KVM,可以行OpenWRT。

而我ROS是RouterBoard,用Raspberry Pi 3b安装V2Ray。

我NAS也有安装V2Ray,就是用QNAP NAS Virtualisation Station安装Debian 8。

我的target是其他mobile device不需要安装什么软件,就可以直接用WiFi的SSID(通过RouterOS -> V2Ray client --> remote V2Ray Server.

TOP

所以我用Raspberry Pi做!简单,不用那么烦。大家可以考虑。

TOP

回復 102# gameplayer

安装V2Ray on Raspberry Pi,可以看下面帖子:

http://www.telecom-cafe.com/foru ... &extra=page%3D1

安装V2Ray,里面自带shadowsocks。

TOP

Openconnect, 在下面的帖子:

http://www.telecom-cafe.com/foru ... &extra=page%3D1

TOP

你买Raspberry Pi哪个model?是3b+吗?买多少钱?在哪里买呢?

TOP

本帖最後由 角色 於 2018-9-13 11:02 編輯

Samples of V2Ray Configuration File

Same port number but different UUIDs
  1. pi@raspberrypi:/etc/v2ray $ cat config.json
  2. {
  3.   "log" : {
  4.     "access": "/var/log/v2ray/access.log",
  5.     "error": "/var/log/v2ray/error.log",  /* 后面还有句子,所以要加“,” */
  6.     "loglevel": "warning"  /* 后面没有句子,所以不需要假“,” */
  7.   },
  8.   "inbound": {
  9.     "port": 443,
  10.     "protocol": "vmess",
  11.     "settings": {
  12.       "clients": [    /* 可以有多个clients  */
  13.         {
  14.           "email": “name1@v2ray.com",
  15.           "id": “UUID1",
  16.           "level": 1,  /* 后面还有句子,所以要加“,” */
  17.           "alterId": 64  /* 后面没有句子,所以不需要假“,” */
  18.         },  /* 后面还有句子,所以要加“,” */
  19.         {
  20.           "email": “name2@v2ray.com",
  21.           "id": “UUID2",
  22.           "level": 1,
  23.           "alterId": 64
  24.         },
  25.         {
  26.           "email": “name3@v2ray.com",
  27.           "id": “UUID3",
  28.           "level": 1,
  29.           "alterId": 64
  30.         }  /* 后面没有句子,所以不需要假“,” */
  31.       ]  /* 后面没有句子,所以不需要假“,” */
  32.     }  /* 后面没有句子,所以不需要假“,” */
  33.   },   /* 后面还有句子,所以要加“,” */
  34.   "outbound": {
  35.     "protocol": "freedom",
  36.     "settings": {}
  37.   },
  38.   "outboundDetour": [
  39.     {
  40.       "protocol": "blackhole",
  41.       "settings": {},
  42.       "tag": "blocked"
  43.     }
  44.   ],
  45.   "routing": {
  46.     "strategy": "rules",
  47.     "settings": {
  48.       "rules": [
  49.         {
  50.           "type": "field",
  51.           "ip": [
  52.             "0.0.0.0/8",
  53.             "10.0.0.0/8",
  54.             "100.64.0.0/10",
  55.             "127.0.0.0/8",
  56.             "169.254.0.0/16",
  57.             "172.16.0.0/12",
  58.             "192.0.0.0/24",
  59.             "192.0.2.0/24",
  60.             "192.168.0.0/16",
  61.             "198.18.0.0/15",
  62.             "198.51.100.0/24",
  63.             "203.0.113.0/24",
  64.             "::1/128",
  65.             "fc00::/7",
  66.             "fe80::/10"
  67.           ],
  68.           "outboundTag": "blocked"
  69.         }  /* 后面没有句子,所以不需要假“,” */
  70.       ]    /* 后面没有句子,所以不需要假“,” */
  71.     }     /* 后面没有句子,所以不需要假“,” */
  72.   }       /* 后面没有句子,所以不需要假“,” */
  73. }         /* 后面没有句子,所以不需要假“,” */
  74. pi@raspberrypi:/etc/v2ray $
複製代碼

TOP

另外的config file
  1. pi@raspberry:/etc/v2ray $ cat config.json
  2. // General settings for config.json
  3. // vmess port: port_number
  4. // shadowsocks port: port_number
  5. //
  6. // Family Settings
  7. // vmess port: port_number1, level = 1
  8. // Friend Settings
  9. // vmess port: port_number2, level = 0
  10. {
  11.   "log" : {
  12.     "access": "/var/log/v2ray/access.log",
  13.     "error": "/var/log/v2ray/error.log",
  14.     "loglevel": "warning"
  15.   },
  16.   "inbound": {
  17.     "port": port_number,
  18.     "protocol": "vmess",
  19.     "settings": {
  20.     "clients": [
  21.         {
  22.           "id": “UUID",
  23.           "level": 1,
  24.           "alterId": 64
  25.         }
  26.       ]
  27.     }
  28.   },
  29.   "outbound": {
  30.     "protocol": "freedom",
  31.     "settings": {}
  32.   },
  33.   "inboundDetour": [
  34.         {
  35.           "port": port_number,
  36.           "protocol": "vmess",
  37.           "settings": {
  38.             "clients": [
  39.               {
  40.                 "mail": “name@v2ray.com",
  41.                 "id": “UUID",
  42.                 "level": 1,
  43.                 "alterId": 64
  44.               }
  45.             ]
  46.           }
  47.         },
  48.         {
  49.           "port": port_number,
  50.           "protocol": "vmess",
  51.           "settings": {
  52.             "clients": [
  53.               {
  54.                 "mail": “name@v2ray.com",
  55.                 "id": “UUID”,
  56.                 "level": 1,
  57.                 "alterId": 64
  58.               }
  59.             ]
  60.           }
  61.         },
  62.         {
  63.           "port": port_number,
  64.           "protocol": "vmess",
  65.           "settings": {
  66.             "clients": [
  67.               {
  68.                 "mail": “name@v2ray.com",
  69.                 "id": “UUID",
  70.                 "level": 0,
  71.                 "alterId": 64
  72.               },
  73.               {
  74.                 "mail": “name@v2ray.com",
  75.                 "id": “UUID",
  76.                 "level": 0,
  77.                 "alterId": 64
  78.               },
  79.               {
  80.                 "mail": “name@v2ray.com",
  81.                 "id": “UUID”,
  82.                 "level": 0,
  83.                 "alterId": 64
  84.               }
  85.             ]
  86.           }
  87.         },
  88.         {
  89.           "protocol": "shadowsocks",
  90.           "port": port_number,
  91.           "settings": {
  92.               "method": "chacha20-ietf-poly1305",
  93.               "password": “password",
  94.               "level": 1        
  95.           }
  96.         },
  97.         {
  98.           "protocol": "shadowsocks",
  99.           "port": port_number,
  100.           "settings": {
  101.               "method": "chacha20-ietf-poly1305",
  102.               "password": “passowrd",
  103.               "level": 1
  104.           }
  105.         },
  106.         {
  107.           "protocol": "shadowsocks",
  108.           "port": port_number,
  109.           "settings": {
  110.               "method": "aes-256-gcm",
  111.               "password": “passowrd",
  112.               "level": 1
  113.           }
  114.         }
  115.   ],
  116.   "outboundDetour": [
  117.       {
  118.           "protocol": "freedom",
  119.           "settings": {}
  120.       }
  121.   ]
  122. }
  123. pi@raspberry:/etc/v2ray $
複製代碼

TOP

我買的是3B,在閒魚買,跟張16G micro SD,電源,機及線,加運費RMB112. 付運中。 ...
gameplayer 發表於 2018-9-13 22:55


“閒魚”在哪里?总共(含运费)是RMB112吗?

TOP

如果是这个价格,真的不贵。

TOP

你先安装好Raspbian。

你可以post条link出来,大家可以参考采购。

TOP

这里有member “lookforyou”在搬瓦工也安装过V2Ray(用一键安装)。而我就没有这样的经验,不过Linux上面应该可以安装不同的软件。

TOP

不知不觉,V2Ray版本已经去到v4.4了!!!特别在v4.0开始加入反方向代理!!!

2018.11.16 v4.4
路由中新增了负载均衡配置。
优化了内存使用效率。

2018.11.05 v4.1
配置文件格式简化。主要是传入传出代理和路由部分。旧版格式仍然可用,但推荐尽快升级到最新格式。
优化了 GeoIP 的性能,减少了内存占用,提升了匹配效率。

2018.11.02 v4.0
反向代理
新增了 ppc64 和 ppc64le 预编译包。

TOP

有了这个反方向代理,就是大陆(没有公网IP)通过Proxy连接外国Server,外过PC通过外国server,就可以连接大陆的Server,方面看大陆的电影和其他需要大陆IP Address。

至于load balancing,我就没有用过!估计要多点时间去理解它。

如果最经济用V2Ray server(在大陆),估计就是用Raspberry Pi 3b+了(3b还有,但是很快就会给3b+取代)。

TOP

回看这幅帖子,眨眨眼就到2019年了,我觉得V2Ray原来越好用!

TOP

估计有不少人已经有好几个V2Ray server,这个不行,就用别的。在手机可能比较方便一点,就是点击其他servers就可以,但是在大脑就比较麻烦,要选用不同的servers,而有可能经常只有一个servers,而其他servers很少用。其实V2Ray里有个load balance方法,不知道大家是否用呢?

TOP

返回列表