電訊茶室's Archiver

角色 發表於 2017-11-27 21:08

【一人一V2Ray Server】—— General Discussion

[i=s] 本帖最後由 角色 於 2019-4-22 16:20 編輯 [/i]

=======
将会重新整理,然后读起来比较畅顺。
=======


因为需要经过需要看大陆以外信息,所以需要一个比较好的服务器,一般的VPN server已经不能保证畅通运行,所以在寻找另外一个翻墙的软件,之前用Shadowsocks已经非常不错,而后起之秀——V2Ray更加厉害!!!所以这里建立一个帖子【一人一 V2Ray Server】,尽量把有关信息集合一起,希望大家能多些一些帖子,然后我把它们链接起来,方便后来的朋友跟随和学习。

V2Ray官网:[url]https://v2ray.com/[/url]

白话文教程:[url]https://toutyrater.github.io/[/url] (在官网里有链接)

手机v2rayNG的使用手册:
[url]https://v2ray666.com/post/12/[/url]

有个另类的教程:[url]https://233blog.com/[/url]
[url]https://www.ityou.ltd/index.php/2018/02/05/v2ray/[/url]

房间写得非常好关于V2Ray和他的设定
[url]https://www.enterpr1se.info/2017/10/v2ray-gfw-setup/[/url]
[url]https://github.com/wulabing/V2Ray_ws-tls_bash_onekey[/url]
[url]https://www.feiqy.com/v2ray-best-config/[/url]
[url]https://steemit.com/v2ray/@laosan/v2ray-websocket-ws-tls-nginx-bbr-cdn-wordpress[/url]
[url]https://docs.diladele.com/tutorials/mikrotik_transparent_squid/index.html[/url]
[url]https://aacable.wordpress.com/tag/howto-add-squid-proxy-server-with-mikrotik/[/url]
[url]http://squid-web-proxy-cache.1019090.n4.nabble.com/Mikrotik-and-Squid-Transparent-td4671869.html[/url]
[url]https://virtualitsupport.wordpress.com/2014/04/15/preparation-mikrotik-with-squid-proxy-server/[/url]


RouterOS + V2Ray(Raspberry Pi)
[url]https://github.com/v2ray/v2ray-core/issues/1016[/url]


RouterOS + Squid
[url]https://forum.mikrotik.com/viewtopic.php?t=77635[/url]
[url]https://docs.diladele.com/tutorials/mikrotik_transparent_squid/index.html[/url]
[url]https://blog.monogatari.pl/en/2016/03/mikrotik-and-squid-transparent-proxy/[/url]
[url]http://artica-proxy.com/mikrotik-transparent-web-proxy-setup-both-httphttps/[/url]

Other interesting article:
[url]http://blog.zorinaq.com/my-experience-with-the-great-firewall-of-china/[/url]

Last seen article
[url]https://briteming.blogspot.com/2018/08/v2ray.html[/url]
[url]https://ppundsh.github.io/posts/e457/[/url]

角色 發表於 2017-11-27 21:08

[i=s] 本帖最後由 角色 於 2018-8-3 19:15 編輯 [/i]

安装对象:

1、QNAP Intel-based NAS (可以run Virtualization Station才可以)(已经完成)
2、Raspberry Pi (已经完成)[url=http://www.telecom-cafe.com/forum/viewthread.php?tid=7202&extra=page%3D1]Link[/url]

Tools

1、UUID generator: [url]https://www.uuidgenerator.net/[/url]
2、Configure file generator:[url]https://htfy96.github.io/v2ray-config-gen/#[/url] or [url=https://intmainreturn0.com/v2ray-config-gen/]Link[/url]

安装好要主要:

1、前面router要做port forwarding to v2ray server IP.

怎样手动启动v2ray [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&ptid=7053&pid=44969]Link[/url]

Squid + RouterOS [url]https://docs.diladele.com/tutorials/mikrotik_transparent_squid/index.html[/url]

角色 發表於 2017-11-27 21:08

[i=s] 本帖最後由 角色 於 2018-6-27 08:00 編輯 [/i]

配置格式:config.json

大家先参考官方链接:[url]https://v2ray.com/chapter_02/01_overview.html[/url][code]
{
  "log": {},
  "dns": {},
  "routing": {},
  "inbound": {},
  "outbound": {},
  "inboundDetour": [],
  "outboundDetour": [],
  "transport": {}
}[/code]1、关键符号“,”,在结束最后一句是不需要“,”,大家可以参考一下下面启动标准画面:[code]{
    "log" : {
      "access": "/var/log/v2ray/access.log",
      "error": "/var/log/v2ray/error.log",
      "loglevel": "warning"
    },
    "inbound": {
      "port": 8899,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
          "id": "b66b666e-e666-4dbb-a666-3d666c6666fe",
          "level": 1,
          "alterId": 64
          }
        ]
     }
    },
    "outbound": {
       "protocol": "freedom",
       "settings": {}
    }
}    [/code]On-line Json editor to find the typos:
[url]https://www.bejson.com/jsoneditoronline/[/url]
[url]http://qqe2.com/[/url]

角色 發表於 2017-11-27 21:09

[i=s] 本帖最後由 角色 於 2017-12-30 13:04 編輯 [/i]

常见的问题:

1、怎样upgrade v2ray?  [url]http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&ptid=7053&pid=44050[/url]
2、怎样copy contianer里的文件到host?[url]https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host[/url]

角色 發表於 2017-11-27 21:09

[i=s] 本帖最後由 角色 於 2018-1-10 14:36 編輯 [/i]

安装参考:

雨落无声: [url]https://blog.ipatrick.cn/2017/01/04/286.html[/url]
[url]https://www.moerats.com/archives/3/[/url]
[url]https://www.helup.com/77.html/[/url]
[url]http://www.jianshu.com/p/b59150fd8f47[/url]

安装V2Ray,下面的最详细:
[url]https://yuan.ga/v2ray-complete-tutorial/[/url]

Clients Settings:
[url]https://www.enterpr1se.info/2017/10/v2ray-gfw-setup/9/[/url]

角色 發表於 2017-11-28 11:58

[i=s] 本帖最後由 角色 於 2018-6-27 08:36 編輯 [/i]

从下面友台谈论自己安装V2Ray server真的不是很多!很多难度都比较难的。

[attach]3867[/attach]

在上面最为重要是《Qnap Nas x86 V2Ray 安裝教學》[url]http://www.hkepc.com/forum/viewthread.php?fid=219&tid=2406969&extra=&highlight=v2ray&page=1[/url]

因为香港人比较忙,都没有太多的时间搞什么firmware OpenWRT、DDWrt这一类的东西,还有他们效率真的不高,所以我都建议大家买个QNAP NAS(Intel-based X86)。

如果用EdgeOS,可以参考下面帖子:
[url]https://arkis.me/post/0018-erxproxy/[/url]
[url]https://www.hkepc.com/forum/viewthread.php?fid=12&tid=2446642&extra=page%3D3&page=1[/url]

角色 發表於 2017-11-28 12:15

QNAP X86 NAS有什么选择?

最经济用就是 QNAP TS-251,如果加上两个hard drives,大约3000元搞定。(看起来有点贵,但是无忧所值的)。

不知道大家是否有别的选择呢?

lookforyou 發表於 2017-11-28 15:43

一键安装好像不支持我的centos6.9

角色 發表於 2017-11-29 10:15

[i=s] 本帖最後由 角色 於 2017-11-29 11:13 編輯 [/i]

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=43944&ptid=7053]8#[/url] [i]lookforyou[/i] [/b]

刚才看了一下V2Ray的网站,过于平台的支持:[url]https://v2ray.com/chapter_01/install.html/[/url]
上面说V2Ray能支持CentOS 6/7。

[attach]3868[/attach]

lookforyou 發表於 2017-11-30 14:07

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=43945&ptid=7053]9#[/url] [i]角色[/i] [/b]


    我的vps上已经安装了pbx in a flash,这个只支持centos6.x,现在安装了ssr和邮件服务器,没办法升级系统了

角色 發表於 2017-11-30 14:17

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=43949&ptid=7053]10#[/url] [i]lookforyou[/i] [/b]

明白。看PM。

角色 發表於 2017-11-30 15:23

用v2ray vmess,大陆听香港收音机没有断线(之前用Shadowsocks,经常断),还有用Whatsapp非常流畅,不需要重新login。大陆的traffice走大陆的gateway,其他都对面v2ray vmess server。

角色 發表於 2017-12-11 17:26

V2Ray又有新东西:

2017.12.08 v3.1

支持本地策略
支持从环境变量指定的路径加载配置文件

角色 發表於 2017-12-15 10:52

虽然Shadowsocks和V2Ray都是大陆人要“科学上网”而出现的东西,但是在我来说能用就可以。如果真的非常重要的东西,那么只能用老外和传统的VPN方法,邮件要加密才发,如果只是一般用而已,就没有必要搞到那么复杂。

lookforyou 發表於 2017-12-18 11:11

zerotier也不错,上手更简单,客户端也更丰富

角色 發表於 2017-12-18 21:34

我们多一个选择比较好!谢谢CHing的信息。

角色 發表於 2017-12-19 19:59

V2Ray 最新版本升级到v3.4
2017.12.22 v3.4
Websocket 现在可以识别 X-Forwarded-For 并用做源地址。

角色 發表於 2017-12-23 23:30

v2ray又有新Version

2017.12.22 v3.4

    Websocket 现在可以识别 X-Forwarded-For 并用做源地址。
    支持 s390x 平台。

ttmuskie 發表於 2017-12-26 15:20

[i=s] 本帖最後由 ttmuskie 於 2017-12-26 15:22 編輯 [/i]

I've installed the latest version (v3.4) and found that I can't access the server on my LAN from my Android phone. (using v2rayNG). Am I missing something?

config.json[code]
{
  "log" : {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "debug"
  },
  "inbound": {
    "port": 55555,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "a992b723-acd6-4107-906e-XXXXXXXXXXXX",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  },
  "outbound": {
    "protocol": "freedom",
    "settings": {}
  }
}

[/code]error.log[code]
2017/12/26 15:20:19 [Info]: App|Proxyman|Inbound: connection ends > Proxy|VMess|Inbound: connection ends > context canceled
2017/12/26 15:20:19 [Info]: App|Proxyman|Outbound: failed to process outbound traffic > Proxy|Freedom: connection ends > context canceled
2017/12/26 15:20:57 [Info]: App|Proxyman|Outbound: failed to process outbound traffic > Proxy|Freedom: connection ends > context canceled

[/code]

角色 發表於 2017-12-26 17:12

[i=s] 本帖最後由 角色 於 2017-12-26 17:18 編輯 [/i]

Try to connect from outside (to LAN ). It means to use data to connect Internet and connect your router with suitable port forwarding to your V2Ray box. Will you receive the same error message?

I have checked out the docker version of v2ray, it is version 2.4.1.

ttmuskie 發表於 2017-12-26 17:31

[quote]Try to connect from outside (to LAN ). It means to use data to connect Internet and connect your ro ...
[size=2][color=#999999]角色 發表於 2017-12-26 17:12[/color] [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=44037&ptid=7053][img]http://www.telecom-cafe.com/forum/images/common/back.gif[/img][/url][/size][/quote]


I forgot to mention, the result was from the scenario that you suggested.

角色 發表於 2017-12-28 01:39

I have downloaded the docker version of v2ray 3.4 and applied the old configuration, it works very well. I guess the problem may come from the port forwarding issue.

角色 發表於 2017-12-29 08:33

又有新的版本。
(前几天才upgrade完3.4)

2017.12.29 v3.5

    Geoip 支持名为“Private”的私有地址列表。

角色 發表於 2017-12-30 13:02

怎样upgrade v2ray?

用ssh进入QNAP admin mode,然后执行[code]docker pull v2ray/official[/code]然后退出admin mode,再进行Container去create新的container就可以。

角色 發表於 2018-1-3 22:48

最近把我v2ray里的Shadowsocks再upgrade using AEAD (AEAD stands for Authenticated Encryption with Associated Data. )

[url]https://shadowsocks.org/en/spec/AEAD-Ciphers.html[/url]

desktop用 aes-256-gcm
手机用 chacha20-ietf-poly1305

角色 發表於 2018-1-4 22:34

原来V2Ray的vmess protocol包括下面的security methods:

1. chacha20-poly305
2. aes-128-cfb
3. aes-128-gcm
4. none

上面四种随便用。

blizzard2 發表於 2018-1-7 16:14

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=43985&ptid=7053]15#[/url] [i]lookforyou[/i] [/b]
哩個Zerotier安裝同連接都好簡單。但點樣做到科學上網呢?

lookforyou 發表於 2018-1-7 16:41

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=44061&ptid=7053]27#[/url] [i]blizzard2[/i] [/b]


    你同样需要一个能翻墙的电脑或是vps,把这个做为网关,所有这个虚拟网络上的电脑全都可以翻了。不过从我实际使用来看,还是ssr或是ss的速度快,也稳定,在苹果手机上那个app叫superwingy

blizzard2 發表於 2018-1-7 21:35

[i=s] 本帖最後由 blizzard2 於 2018-1-8 11:04 編輯 [/i]

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=44062&ptid=7053]28#[/url] [i]lookforyou[/i] [/b]

喺香港境内用電腦試内網速度,用zerotier比pptp同l2tp快好多喎。

set 好咗iphone都用到了。 用 zerotier-one app,速度都ok吖。香港境内試上下都有 5x Mbps。極限了,我用RPi做gateway。

lookforyou 發表於 2018-1-11 08:39

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=44063&ptid=7053]29#[/url] [i]blizzard2[/i] [/b]


    我把这个当备用手段,现在还都是用ssr来翻

頁: [1] 2 3 4 5 6

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.