关于 Tailscale 的提问

287 天前
 tomclancy
最近捣鼓 tailscale ,这几天捣鼓了很久没有成功
家里的电脑 192 网段公司的电脑 10 网段,公司有个网站 10.169 打头,两边都没有路由器配置 tailscale
想让家里的电脑直接通过公司的电脑做流量转发,浏览器敲上这个 10.169 的 url 直接访问公司网站
小公司,基本不会管
再就是想设置一下是能不能通过家里的电脑实现流量出国?家里的电脑装了 mihomo party ?
再或者其他的简单方法也行
1990 次点击
所在节点    问与答
6 条回复
totoro625
287 天前
家里: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
287 天前
接 1 楼,用官方的控制服务器记得控制台把每个节点发布的路由勾选应用一下
superchijinpeng
287 天前
或者:



然后再 mihomo party 里配个 http 或者 socks5 proxy ,10.169.0.0 的走你这个代理
tomclancy
287 天前
@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
287 天前
@tomclancy #4 我敲*号是让你根据自己的网络环境修改的,不是让你直接复制粘贴用的
tomclancy
253 天前
@totoro625 #5 感谢老铁,成功了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1095111

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX