V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
doudouisamomo
V2EX  ›  OpenWrt

除了全局模式,有办法可以正常访问 linkedin.com

  •  
  •   doudouisamomo · 16 天前 · 448 次点击

    我之前设置的在 ssrp 里把 linkedin.com 强制代理之后,用绕过大陆 ip 的方式是可以访问的

    但是上周我重新刷了一遍软路由,同样的办法就行布通了,

    我怀疑是大陆 ip 的列表没有原先的全。。。

    有没有好的解决方案,求一个

    4 条回复    2025-08-28 11:21:00 +08:00
    coffeecat
        1
    coffeecat  
       9 天前
    用最新版本 chinadns-ng ,把这个网址加到 gfwlist 列表 txt 里面。
    运行举例:
    chinadns-ng -m chnlist.txt -g rgfwlist.txt
    含义:
    在 chnlist.txt 里面网址的走 china-dns ,在 gfwlist.txt 里面的走 trust-dns ,其他的网址同时给两组 dns 解析,根据大陆 ip 列表判断取哪个结果,完美。
    coffeecat
        2
    coffeecat  
       9 天前
    如果只是 dns 的问题,用上面就好,如果搭配透明代理(例如监听了 1060 ),则要运行
    chinadns-ng -m chnlist.txt -g gfwlist.txt -A inet@global@gfwip,inet@global@gfwip6
    前提是运行:
    nft add table inet global
    nft add set inet global gfwip { type ipv4_addr;flags interval; }
    chinadns-ng 会把解析出来的 ip v4 动态写入 gfwip
    然后设置:
    nft add rule inet global prerouting ip daddr @gfwip tcp dport 0-65535 counter redirect to :1060
    nft add rule inet global output ip daddr @gfwip tcp dport 0-65535 counter redirect to :1060
    coffeecat
        3
    coffeecat  
       9 天前   ❤️ 1
    补充一下,还要确保 prerouting/output 链存在
    nft create chain inet global prerouting { type nat hook prerouting priority dstnat; }
    nft create chain inet global output { type nat hook output priority -100; }
    doudouisamomo
        4
    doudouisamomo  
    OP
       8 天前
    @coffeecat 我更新了 ssrp 之后似乎就 Ok 了,之前那个版本可能太老了是 21 年的,^_^
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1150 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 18:01 · PVG 02:01 · LAX 11:01 · JFK 14:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.