代理工具介绍

一. 介绍

配置说明连接:

 

  


 

二.简单使用

1.配置个http代理

①配置文件

{
    "inbounds": [
        {
            "tag": "http-in",
            "port": 8123,
            "listen": "::",
            "protocol": "http",
            "settings": {
                "timeout": 0,
                "allowTransparent": false,
                "userLevel": 0
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "tag": "direct",
            "settings": {
                "domainStrategy": "UseIP"
            }
        }
    ]
}

 

 

 

②使用:

export https_proxy=http://*:8123
export http_proxy=http://*:8123

 

2.配置个socaket5协议代理

①配置文件

{
    "inbounds": [
        {
            "port": 8123,
            "listen": "0.0.0.0",
            "protocol": "socks",
            "settings": {
                "auth": "noauth",
                "udp": true,
                "ip": "127.0.0.1",
                "clients": []
            },
            "streamSettings": {
                "sockopt": {
                    "mark": 256
                }
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": {}
        }
    ]
}

 

 

②使用:

 

posted @ 2025-06-27 11:49  铿锵有力自信且坚定  阅读(13)  评论(0)    收藏  举报