# vpn-gate

> Connect via openvpn using free vpngate.net config data from the CLI

Latest version **2.1.2** (published 2016-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install vpn-gate
pnpm add vpn-gate
yarn add vpn-gate
bun add vpn-gate
```

Provides the command `vpn-gate`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2016-11-27 |
| First published | 2016-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+9 in 5 direct dependencies) |
| Install scripts | no |
| Author | Alexander Kazmin |
| Maintainers | kazmin |
| Keywords | vpn, vpngate, openvpn, cli, command, line, freevpn, connect |

## Links

- npm: https://www.npmjs.com/package/vpn-gate
- Repository: https://github.com/ernium/node-vpn-gate
- Homepage: https://github.com/ernium/node-vpn-gate#readme
- Issues: https://github.com/ernium/node-vpn-gate/issues
- npm.io page: https://npm.io/package/vpn-gate

## Dependencies (12)

- [tmp](https://npm.io/package/tmp.md) ^0.0.28
- [meow](https://npm.io/package/meow.md) ~3.7.0
- [debug](https://npm.io/package/debug.md) ~2.2.0
- [react](https://npm.io/package/react.md) ^0.14.6
- [express](https://npm.io/package/express.md) ~4.13.4
- [request](https://npm.io/package/request.md) ^2.70.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.4
- [keypress](https://npm.io/package/keypress.md) ~0.2.1
- [react-dom](https://npm.io/package/react-dom.md) ^0.14.6
- [socket.io](https://npm.io/package/socket.io.md) ~1.4.6
- [log-update](https://npm.io/package/log-update.md) ~1.0.2
- [socket.io-client](https://npm.io/package/socket.io-client.md) ~1.4.6

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.1.2 (latest) — 2016-11-27
- 2.1.1 — 2016-11-27
- 2.1.0 — 2016-08-15
- 2.0.1 — 2016-07-28
- 2.0.0 — 2016-07-22
- 1.0.9 — 2016-04-21
- 1.0.8 — 2016-04-12
- 1.0.7 — 2016-04-12
- 1.0.6 — 2016-04-12
- 1.0.5 — 2016-04-12
- 1.0.4 — 2016-04-12
- 1.0.3 — 2016-04-12
- 1.0.2 — 2016-04-12
- 1.0.1 — 2016-04-11
- 1.0.0 — 2016-04-11

## README

# vpn-gate
Connect via openvpn using free [vpngate.net](http://www.vpngate.net/) config data from the CLI

![Screenshot](http://i.imgur.com/F8qPjID.png)

## Install

```bash
$ npm install --global vpn-gate
```

## Usage

```bash
$ sudo vpn-gate [<COUNTRY>] [-p] <portnumber>
```

## Examples
You can omit parameter, then openvpn will use config data with the highest score
```bash
$ sudo vpn-gate
```

...or you can use short country name, next command will load config data by openvpn that applies to Japan country and has highest score
```bash
$ sudo vpn-gate jp
```

...or with full country name
```bash
$ sudo vpn-gate japan
```

Also you can specify port number for browser interface, by default it will be 3333
```bash
$ sudo vpn-gate jp -p 9000
```

A little bit more freedom you can get by going to [http://localhost:3333](http://localhost:3333) after `vpn-gate` started

Browser interface
 
![Screenshot](http://i.imgur.com/TbSWNOu.png)

## License

MIT © [Alexander Kazmin](https://github.com/ernium)

---
_Source: https://npm.io/package/vpn-gate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
