電訊茶室's Archiver

phava 發表於 2019-11-21 16:52

ubnutu下使用v2ray客户端,求助!

[i=s] 本帖最後由 phava 於 2019-11-21 16:56 編輯 [/i]

ubnutu环境下使用v2ray客户端
1.已使用官方脚本安装好。
2.配置好/etc/v2ray/config.json
3.已设好浏览器代理设置;
以上我都做好了,config文件修改过几个版本。可是就是上不了外网。在此求助大家,谢谢。
以下是截图:
1.service v2ray status查看到的v2ray运行状态。
[attach]4462[/attach]
2.浏览器的配置
[attach]4463[/attach]
3.config文件代码[code]{
    "log": {
        "loglevel": "warning"
    },
    "inbound": {
        "listen": "127.0.0.1",
        "port": 1080,
        "protocol": "socks",
        "settings": {
            "auth": "noauth",
            "udp": true,
            "ip": "127.0.0.1"
        }
    },
    "outbound": {
        "protocol": "vmess",
        "settings": {
            "vnext": [
                {
                    "address": "00.00.00.00",//v2ray服务器的ip
                    "port": 0000,                 //v2ray服务器的端口
                    "users": [
                        {
                            "id": "0000-0000-000-00000-0000-000",// 用户id
                            "level": 1,
                            "alterId": 000   //
                        }
                    ]
                }
            ]
        },
        "streamSettings": {
            "network": "kcp"
        }
    },
    "outboundDetour": [
        {
            "protocol": "freedom",
            "settings": {},
            "tag": "direct"
        }
    ],
    "routing": {
        "strategy": "rules",
        "settings": {
            "rules": [
                {
                    "type": "field",
                    "port": "54-79",
                    "outboundTag": "direct"
                },
                {
                    "type": "field",
                    "port": "81-442",
                    "outboundTag": "direct"
                },
                {
                    "type": "field",
                    "port": "444-65535",
                    "outboundTag": "direct"
                },
                {
                    "type": "field",
                    "domain": [
                        "gc.kis.scr.kaspersky-labs.com"
                    ],
                    "outboundTag": "direct"
                },
                {
                    "type": "chinasites",
                    "outboundTag": "direct"
                },
                {
                    "type": "field",
                    "ip": [
                        "0.0.0.0/8",
                        "10.0.0.0/8",
                        "100.64.0.0/10",
                        "127.0.0.0/8",
                        "169.254.0.0/16",
                        "172.16.0.0/12",
                        "192.0.0.0/24",
                        "192.0.2.0/24",
                        "192.168.0.0/16",
                        "198.18.0.0/15",
                        "198.51.100.0/24",
                        "203.0.113.0/24",
                        "::1/128",
                        "fc00::/7",
                        "fe80::/10"
                    ],
                    "outboundTag": "direct"
                },
                {
                    "type": "chinaip",
                    "outboundTag": "direct"
                }
            ]
        }
    }
}[/code]

kingwilliam 發表於 2019-11-21 17:18

[i=s] 本帖最後由 kingwilliam 於 2019-11-21 17:20 編輯 [/i]

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=47700&ptid=7779]1#[/url] [i]phava[/i] [/b]

你的v2ray是socks, 但你的browser选了http,
不用选 “为所有协议.......”
http
ssl
ftp全都不要

***   只应选socks 如下图   ***

    [attach]4464[/attach]

phava 發表於 2019-11-21 20:42

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=47701&ptid=7779]2#[/url] [i]kingwilliam[/i] [/b]


    朋友,我按照你的方法试验,还是不行。

kingwilliam 發表於 2019-11-21 22:26

[i=s] 本帖最後由 kingwilliam 於 2019-11-21 22:28 編輯 [/i]

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=47702&ptid=7779]3#[/url] [i]phava[/i] [/b]

可否再post debug log 和 浏览器的配置

頁: [1]

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