vpn-slice | script replacement for easy and secure split | VPN library
kandi X-RAY | vpn-slice Summary
kandi X-RAY | vpn-slice Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Do post - connect
- Return a list of host names for the given host
- Check if a process is running
- Parse args and environment variables
- Parse the environment
- Configure a domain vpn domain
- Run the resolvectl command
- Configure firewall rules
- Reload the conf file
- Get a specific route
- Execute iproute
- Finalize args and env
- Set the link information
- Add an address to the device
- Connect to VPN
- Add a new route
- Get link information
- Get details about a BSD route
- Disconnects from provider
- Return default providers
- Discovers the firewall settings
vpn-slice Key Features
vpn-slice Examples and Code Snippets
Community Discussions
Trending Discussions on vpn-slice
QUESTION
I’ve recently started using the nix package manager as a single user install (non-daemon).
I’m wondering how to configure openconnect and preferably with vpn-slice, a vpnc-script replacement for easy and secure split-tunnelling.
I can see the default nix packages configuration for openconnect. I assume I’d want to use something like either an override and/or an overlay. (I’m not clear on the distinction between these two as yet and when you’d use one over the other.)
Nevertheless, naturally the steps I’m trying to figure out how to configure with nix are these:
- The base binary installation (override / overlays / derivations)
- Configuring particular vpn connections
- Starting (prompting for password, and secondary otp pass)
- Stopping
Ideally integrating oath-toolkit would be great. e.g., oathtool --totp -b
ANSWER
Answered 2020-Apr-14 at 18:01One good option I found was to create a nix shell file.
For example vpn-wrapper.nix:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vpn-slice
You can use vpn-slice like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page