拼车信息请发到 /go/cosub 节点。

如果没有发送到 /go/cosub,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
Davic1
V2EX  ›  Surge

surge 怎么修改默认端口?

  •  
  •   Davic1 · Oct 2, 2022 · 5192 views
    This topic created in 1410 days ago, the information mentioned may be changed or developed.
    Surge 默认监听 6152/6153 端口,要在什么地方进行修改呢?

    另外,我的 profile 是通过订阅下载得到的。如果我直接修改这个配置文件(在 General 下添加配置)我下次更新是不是配置就还原了?
    Supplement 1  ·  Oct 2, 2022
    解决了,配置项是这样的

    http-listen = 0.0.0.0:6152
    socks5-listen = 0.0.0.0:6153
    10 replies    2022-12-15 01:05:36 +08:00
    popzuk
        1
    popzuk  
       Oct 2, 2022 via iPhone
    查看 surge 配置参数表;不能直接修改订阅文件,只能另外复制一份再修改。
    Davic1
        2
    Davic1  
    OP
       Oct 2, 2022
    @popzuk 那每次配置文件都有手动更新了吗。。。
    dcty
        3
    dcty  
       Oct 2, 2022 via iPhone   ❤️ 1
    @Davic1 用模块覆盖
    Xmk
        4
    Xmk  
       Oct 2, 2022 via iPhone   ❤️ 1
    Detached Profile Section 配置段分离 https://community.nssurge.com/d/506-detached-profile-section
    Davic1
        5
    Davic1  
    OP
       Oct 2, 2022
    @dcty 这个只能从 URL 安装吗。。
    dcty
        6
    dcty  
       Oct 2, 2022
    @Davic1 #5 也可以本地创建的
    Davic1
        7
    Davic1  
    OP
       Oct 2, 2022
    @dcty 我直接使用 mac 的路径好像不行,是前面要加什么前缀吗? 我输入类似于 /Users/xyz/Library/Application Support/Surge/Profiles/xxx.conf
    dcty
        8
    dcty  
       Oct 2, 2022
    @Davic1 #7 放在 surge 配置文件的目录即可
    Davic1
        9
    Davic1  
    OP
       Oct 2, 2022
    @dcty 能正常选择并应用模块了,但是没有生效。。。


    #!name=Mac Setting
    #!desc=Mac 代理设置
    #!system=mac

    [General]
    # macOS Only
    interface = 0.0.0.0
    port = 7099
    socks-port = 7891


    这些配置放在复制的 Profile 里是生效的。 奇怪
    nxuu
        10
    nxuu  
       Dec 15, 2022
    非常好用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1118 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 18:16 · PVG 02:16 · LAX 11:16 · JFK 14:16
    ♥ Do have faith in what you're doing.