pkg.sopackage field notes

brew / rank 4025

Install vpn-slice with Homebrew

Vpnc-script replacement for easy and secure split-tunnel VPN setup. Version 0.16.1 via Homebrew; verified 2026-07-10.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install vpn-slice

provider-native install command

overview

Package summary

Vpnc-script replacement for easy and secure split-tunnel VPN setup

Commands and aliases

  • vpn-slice

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
vpn-sliceexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.16.1
manager updated2026-07-10
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:vpn-slice
Version0.16.1
Package managerHomebrew
Homepagehttps://github.com/dlenski/vpn-slice
Repositoryhttps://github.com/dlenski/vpn-slice
Last updated2026-07-10T10:09:48-04:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation