Metadata-Version: 2.4
Name: closedvpn
Version: 1.0.0
Summary: ClosedVPN — Secure VPN for Hybrid Teams
Author-email: OneFirewall Alliance Ltd <admin@onefirewall.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://closedvpn.io
Project-URL: Documentation, https://docs.onefirewall.com
Keywords: vpn,security,privacy,remote,business,encryption,enterprise,network,proxy,tunnel,wifi
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: requests>=2.28
Requires-Dist: platformdirs>=4.0
Requires-Dist: urllib3<2
Requires-Dist: psutil>=5.9
Dynamic: license-file

<div align="center">

# ClosedVPN

*Secure VPN for hybrid teams — connect, manage, and monitor your dedicated VPN infrastructure from the terminal.*

[![PyPI](https://img.shields.io/pypi/v/closedvpn?color=orange)](https://pypi.org/project/closedvpn/)
[![Python](https://img.shields.io/badge/python-3.9+-blue)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-Apache%202.0-green)](LICENSE)

</div>

## Overview

**ClosedVPN** is a command-line tool designed for remote and hybrid teams that need secure access to corporate resources. Whether you're working from home, a coffee shop, or traveling internationally, ClosedVPN ensures your connection remains private and protected.

It connects your team to a dedicated VPN infrastructure powered by the **OneFirewall Alliance** threat intelligence network, providing real-time threat blocking and encrypted access from anywhere.

## Installation

```bash
pip install closedvpn
```

## Quick Start

### 1. Authenticate

```bash
closedvpn login
```

Login with your Personal Access Token. You will be prompted to select your organization during the login process.

You can also pass the token directly

```bash
closedvpn login --pat YOUR_TOKEN
```

### 2. Connect

```bash
closedvpn connect
```

Establish a secure VPN connection to your dedicated infrastructure.

### 3. Check Status

```bash
closedvpn status
```

Verify your current connection status.

### 4. Disconnect

```bash
closedvpn disconnect
```

Safely disconnect from the VPN session.

## Commands

### 🔐 Authentication

| Command | Description |
|---------|-------------|
| `closedvpn login` | Login with your Personal Access Token |
| `closedvpn logout` | Sign out from ClosedVPN |
| `closedvpn whoami` | Show current user information |

### 🌐 VPN Connection

| Command | Description |
|---------|-------------|
| `closedvpn connect` | Connect to ClosedVPN |
| `closedvpn disconnect` | Disconnect from ClosedVPN |
| `closedvpn status` | Show VPN connection status |

### 🏢 Organization

| Command | Description |
|---------|-------------|
| `closedvpn org list` | List available organizations |
| `closedvpn org switch` | Switch to a different organization |
| `closedvpn org current` | Show currently selected organization |

### ℹ️ General

| Command | Description |
|---------|-------------|
| `closedvpn version` | Show CLI version |
| `closedvpn --help` | Show help information |

## Platform Support

| Platform | Status |
|----------|--------|
| macOS | ✅ Supported |
| Windows | ✅ Supported |
| Linux | ✅ Supported |

**Requirements:** Python 3.9 or higher

## License

This project is licensed under the **Apache License 2.0** — see the [LICENSE](LICENSE) file for details.

Bundled third-party components retain their original licenses. See [THIRD_PARTY_LICENSES](THIRD_PARTY_LICENSES) for details.

## Support

Need help? We're here for you!

- 📧 **Email:** [join@onefirewall.com](mailto:join@onefirewall.com)
- 🌐 **Website:** [closedvpn.io](https://closedvpn.io)
- 📖 **Docs:** [docs.onefirewall.com](https://docs.onefirewall.com)
