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

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

surge 怎么修改默认端口?

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


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

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


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