macOS
brew install vpn-sliceprovider-native install command
brew / rank 4025
Vpnc-script replacement for easy and secure split-tunnel VPN setup. Version 0.16.1 via Homebrew; verified 2026-07-10.
install
brew install vpn-sliceprovider-native install command
overview
Vpnc-script replacement for easy and secure split-tunnel VPN setup
history
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
vpn-slice | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:vpn-slice |
|---|---|
| Version | 0.16.1 |
| Package manager | Homebrew |
| Homepage | https://github.com/dlenski/vpn-slice |
| Repository | https://github.com/dlenski/vpn-slice |
| Last updated | 2026-07-10T10:09:48-04:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.