Metadata-Version: 2.4
Name: aitun
Version: 2.19.0
Summary: AiTun - Secure tunnel service that exposes local servers to the public internet, supporting IPv6/IPv4 P2P and relay modes
Author-email: AiTun <admin@aitun.cc>
License: MIT
Project-URL: Homepage, https://aitun.cc
Project-URL: Documentation, https://aitun.cc
Project-URL: Repository, https://github.com/ctz168/tunnelgo
Keywords: tunnel,ngrok,nat-traversal,p2p,reverse-proxy,aitun
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: Proxy Servers
Classifier: Topic :: System :: Networking
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# AiTun - Secure Tunnel Service

AiTun is a secure tunnel service that exposes local servers to the public internet, supporting IPv6/IPv4 P2P direct connection and server relay.

## Installation

```bash
pip install aitun
```

## Quick Start

```bash
# Start a tunnel for your local service on port 8080
aitun -s aitun.cc:6639 -l 8080

# Or use the legacy command name
tunnelgo-client -s aitun.cc:6639 -l 8080

# Connect to a remote tunnel
aitun-connect -s aitun.cc:6639 -t <tunnel-id>
```

## Features

- P2P direct connection (IPv6/IPv4)
- Server relay fallback
- Custom subdomains (e.g., myapp.t.aitun.cc)
- End-to-end encryption
- Cross-platform support (Linux, macOS, Windows)
- Easy pip installation with auto-downloaded binaries

## Commands

After installation, the following commands are available:

- `aitun` - Start a tunnel client (alias: `tunnelgo-client`)
- `aitun-connect` - Connect to a remote tunnel (alias: `tunnelgo-connect`)

## Links

- Website: https://aitun.cc
- Downloads: https://aitun.cc/downloads/
- GitHub: https://github.com/ctz168/tunnelgo
