BSD Ports

security/py-vpn-slice 0.16.1_1 DragonFly

vpnc-script replacement for easy split-tunnel VPN setup

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
net-vpn, python, security
Package size
57.2 KiB, 310.8 KiB installed

Description

This is a replacement for the vpnc-script used by OpenConnect or VPNC.

Instead of trying to copy the behavior of standard corporate VPN clients, which normally reroute all your network traffic through the VPN, this one tries to minimize your contact with an intrusive VPN. This is also known as a split-tunnel VPN, since it splits your traffic between the VPN tunnel and your normal network interfaces.

vpn-slice makes it easy to set up a split-tunnel VPN:

  • By default, it only routes traffic for specific hosts or subnets through the VPN.
  • It automatically looks up named hosts, using the VPN's DNS servers, and adds entries for them to your /etc/hosts (which it cleans up after VPN disconnection), however it does not otherwise alter your /etc/resolv.conf at all.
  • It has many additional options to customize routing and lookup (for example, --route-splits to additionally route traffic for specific subnets requested by the server). Run vpn-slice --help to see them all.

In the other systems

SystemPortVersion
DragonFlysecurity/py-vpn-slice0.16.1_1
FreeBSDsecurity/py-vpn-slice0.16.1_1
HardenedBSDsecurity/py-vpn-slice0.16.1_1
GhostBSDsecurity/py-vpn-slice0.16.1_1

Install

Binary package:

pkg install py311-vpn-slice

From DPorts:

cd /usr/dports/security/py-vpn-slice && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

This software requires that procfs filesystem be mounted;

# echo "proc /proc procfs rw 0 0" >> /etc/fstab
# mount /proc