跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

networks.TEMPLATE.yaml

41 行 · 1.4 KB历史下载
1# Path to socket_vmnet executable. Because socket_vmnet is invoked via sudo it should be
2# installed where only root can modify/replace it. This means also none of the
3# parent directories can be writable by the user.
4#
5# The varRun directory also must not be writable by the user because it will
6# include the socket_vmnet pid file. Those will be terminated via sudo, so replacing
7# the pid file would allow killing of arbitrary privileged processes. varRun
8# however MUST be writable by the daemon user.
9#
10# None of the paths segments may be symlinks, why it has to be /private/var
11# instead of /var etc.
12paths:
13# socketVMNet requires Lima >= 0.12 .
14 socketVMNet: "{{.SocketVMNet}}"
15 varRun: /private/var/run/lima
16 sudoers: /private/etc/sudoers.d/lima
17
18# The group that is allowed to run socket_vmnet via sudo and to access the
19# socket_vmnet socket (macOS only; ignored on other platforms). Non-admin users
20# must set this to a group they belong to (e.g. "staff").
21group: admin
22
23networks:
24 user-v2:
25 mode: user-v2
26 gateway: 192.168.104.1
27 netmask: 255.255.255.0
28 shared:
29 mode: shared
30 gateway: 192.168.105.1
31 dhcpEnd: 192.168.105.254
32 netmask: 255.255.255.0
33 bridged:
34 mode: bridged
35 interface: en0
36 # bridged mode doesn't have a gateway; dhcp is managed by outside network
37 host:
38 mode: host
39 gateway: 192.168.106.1
40 dhcpEnd: 192.168.106.254
41 netmask: 255.255.255.0