Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

insecure-auto-vpn

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insecure-auto-vpn

An experiment in automating a TTY to connect to an OpenVPN server.

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Insecure Auto VPN

An experiment in automating a TTY to connect to an OpenVPN server.

Commands need to be run as root because openvpn itself needs to run as root.

WARNING: This is just a proof-of-concept. Do not use this in secure environments. Alternatively, clone this repository locally, verify the code and then use `npm link` to run the code instead of installing over NPM.

Installation

npm i -g insecure-auto-vpn;

This exposes an iavpn command on your local machine for your current user.

Create a symlink to it in a place that root can access:

sudo ln -s $(which iavpn) /usr/bin/iavpn

Create Configuration File

sudo iavpn -g

Enter in the path to the .ovpn file, your username, your password, followed by the 2FA seed, and finally a password to encrypt the information.

A file encrypted with your chosen last password will result in a directory at ~/.iavpn

Usage

sudo iavpn

FAQs

Package last updated on 04 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc