关于 Tailscale 的提问 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
tomclancy
V2EX    问与答

关于 Tailscale 的提问

  •  
      tomclancy 357 天前 2138 次点击
    这是一个创建于 357 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近捣鼓 tailscale ,这几天捣鼓了很久没有成功
    家里的电脑 192 网段公司的电脑 10 网段,公司有个网站 10.169 打头,两边都没有路由器配置 tailscale
    想让家里的电脑直接通过公司的电脑做流量转发,浏览器敲上这个 10.169 的 url 直接访问公司网站
    小公司,基本不会管
    再就是想设置一下是能不能通过家里的电脑实现流量出国?家里的电脑装了 mihomo party ?
    再或者其他的简单方法也行
    6 条回复    2025-01-08 00:03:15 +08:00
    totoro625
        1
    totoro625  
       357 天前   1
    家里:tailscale up --accept-routes --advertise-routes=192.*.*.0/24 --advertise-exit-node
    公司:tailscale up --accept-routes --advertise-routes=10.169.*.0/24 --advertise-exit-node
    mritd
        2
    mritd  
       357 天前 via iPhone   1
    接 1 楼,用官方的控制服务器记得控制台把每个节点发布的路由勾选应用一下
    superchijinpeng
        3
    superchijinpeng  
       357 天前   1
    或者:



    然后再 mihomo party 里配个 http 或者 socks5 proxy ,10.169.0.0 的走你这个代理
    tomclancy
        4
    tomclancy  
    OP
       357 天前
    @totoro625 #1 坏了,试了一下都提示报错了
    PS C:\Users\Tom Clancy> tailscale up --accept-routes --advertise-routes=10.169.*.0/24 --advertise-exit-node
    "10.169.*.0/24" is not a valid IP address or CIDR prefix
    PS C:\Users\Tom Clancy> tailscale up --accept-routes --advertise-routes=10.169.0.0/16 --advertise-exit-node
    Error: changing settings via 'tailscale up' requires mentioning all
    non-default flags. To proceed, either re-run your command with --reset or
    use the command below to explicitly mention the current value of
    all non-default settings:

    tailscale up --accept-routes --advertise-exit-node --advertise-routes=10.169.0.0/16 --unattended


    问一下是哪里有问题?再就是我公司的 IP v4 没有 192 这种 C 类地址
    totoro625
        5
    totoro625  
       357 天前
    @tomclancy #4 我敲*号是让你根据自己的网络环境修改的,不是让你直接复制粘贴用的
    tomclancy
        6
    tomclancy  
    OP
       323 天前
    @totoro625 #5 感谢老铁,成功了
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3033 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 21ms UTC 12:51 PVG 20:51 LAX 04:51 JFK 07:51
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86