macOS
brew install vpn-slicelocal Homebrew formula metadata
sudo port install vpn-sliceMacPorts ports tree · net/vpn-slice/Portfile · 来源: api.github.com
安装
brew install vpn-slicelocal Homebrew formula metadata
sudo port install vpn-sliceMacPorts ports tree · net/vpn-slice/Portfile · 来源: api.github.com
sudo apk add vpn-sliceAlpine Linux edge package indexes · vpn-slice · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#vpn-slicenixpkgs package indexes · pkgs/by-name/vp/vpn-slice/package.nix · 来源: api.github.com
概览
Vpnc-script replacement for easy and secure split-tunnel VPN setup
历史
vpn-slice is a Python replacement for the vpnc-script hook used by OpenConnect and VPNC. Its purpose is split-tunnel VPN setup: route only selected hosts or subnets through the VPN while leaving ordinary network traffic on the normal interface.
The project grew out of a long-standing OpenConnect/VPNC architecture in which the VPN client handles the tunnel connection but delegates operating-system routing and DNS changes to an external script, traditionally called vpnc-script.
vpn-slice's README presents it as a deliberate alternative to corporate-VPN behavior that reroutes all traffic through the tunnel. It credits an earlier split-tunnelling tutorial for the basic approach, sshuttle's host-discovery options for inspiration, and a community pull request for cleaner OS-dependent separation and macOS support.
The OpenConnect project documents vpn-slice as an alternative script written by one of the OpenConnect developers, focused on limiting VPN-routed traffic to a specific subset. That gives vpn-slice a recognized niche among OpenConnect users who need client-side split tunneling even when the VPN server or corporate client defaults to full-tunnel routing.
Package listings in ecosystems such as PyPI, MacPorts, Alpine, and FreeBSD ports reflect practical adoption by users who combine OpenConnect with scripting-friendly network setup. Its adoption is niche, but the niche is clear: developers and administrators forced to use restrictive VPNs while preserving local Internet routing.
Users invoke vpn-slice as the OpenConnect or VPNC script hook and pass the hosts, domains, or subnets that should be reachable through the tunnel. The tool can resolve named hosts using VPN DNS servers, write temporary host entries, and avoid broad resolver changes outside the VPN slice.
The tool is not intended for privacy VPN use cases where all traffic should go through the tunnel. Its README explicitly frames the use case as minimizing exposure to monitored or filtering corporate VPN networks.
vpn-slice is the kind of small Unix networking tool package managers preserve well: one command that fills a very specific gap between a general VPN client and local routing policy.
Its value is highest for people who already know OpenConnect, vpnc-script, route tables, and DNS side effects; for those users it replaces a fragile personal shell-script wrapper with a maintained upstream tool.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
vpn-slice | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:vpn-slice |
|---|---|
| 版本 | 0.16.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/dlenski/vpn-slice |
| 仓库 | https://github.com/dlenski/vpn-slice |
| 最后更新 | 2026-07-10T10:09:48-04:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
vpn-slice
nix profile install nixpkgs#vpn-slicevpn-slice 0.16.1-r5
vpnc-script replacement for easy and secure split-tunnel VPN setup
https://github.com/dlenski/vpn-slice
sudo apk add vpn-slicevpn-slice-pyc 0.16.1-r5
Precompiled Python bytecode for vpn-slice
https://github.com/dlenski/vpn-slice
sudo apk add vpn-slice-pycvpn-slice
sudo port install vpn-slice来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.