vpn

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: BSD-2-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vpn

⛱️

vpn is a convenient CLI wrapper for the MacOS VPN application Viscosity.

It allows to

  • connect a given VPN profile
  • disconnect
  • list out the available profiles
  • find the currently connected profile

It is based on the Applescript API for Viscosity https://www.sparklabs.com/support/kb/article/controlling-viscosity-with-applescript-mac/.

Prerequisites

  • OS : MacOS
  • Application: Viscosity
  • Profiles are set up in Viscosity

Installation

Using Go
$ go install github.com/heisantosh/vpn@latest
Download the binary

Prebuilt binary can be downloaded from here https://github.com/heisantosh/vpn/releases.

Usage

$ vpn help
NAME:
   vpn - A CLI wrapper for the Viscosity application in MacOS based on the Applescript API.

USAGE:
   vpn command [argument]

COMMANDS:
   list     list the available VPN profiles and see the corresponding states
   which    find the currently connectd VPN profile
   off      disconnect the VPN connection
   on       connect VPN for the given profile
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址