pkg.soopen package index

brew / 排名 4031

使用 Homebrew, apk, MacPorts, Nix 安装 vpn-slice

查看 vpn-slice 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install vpn-slice

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install vpn-slice

MacPorts ports tree · net/vpn-slice/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add vpn-slice

Alpine Linux edge package indexes · vpn-slice · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#vpn-slice

nixpkgs 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

历史

项目历史与用法

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.

时间线

  • 2010s: vpn-slice emerges as a Python vpnc-script replacement for OpenConnect/VPNC split tunneling.
  • 2019: Public questions around OpenConnect plus vpn-slice show use in Nix and macOS workflows.
  • 2020s: OpenConnect documentation lists vpn-slice as a recognized alternative script for limited-subset routing.

Related projects

  • vpn-slice is directly related to OpenConnect, VPNC, and vpnc-script.
  • The upstream README also relates it conceptually to sshuttle, whose automatic host lookup behavior influenced vpn-slice's own host handling.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
vpn-slice可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.16.1
管理器更新时间2026-07-10
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

vpn-slice

nix profile install nixpkgs#vpn-slice
  • normalized package name match
  • 匹配方式:Vpn Slice
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/vp/vpn-slice/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

vpn-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-slice
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: vpn-slice
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Vpn Slice
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vpn-slice from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

vpn-slice-pyc 0.16.1-r5

Precompiled Python bytecode for vpn-slice

https://github.com/dlenski/vpn-slice

sudo apk add vpn-slice-pyc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: vpn-slice
  • 1 依赖
  • normalized package name match
  • 匹配方式:Vpn Slice
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vpn-slice-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

vpn-slice

sudo port install vpn-slice
  • normalized package name match
  • 匹配方式:Vpn Slice
MacPorts ports tree · api.github.com · MacPorts ports tree: net/vpn-slice/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation