Metadata-Version: 2.4
Name: aitun
Version: 4.7.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: Repository, https://github.com/ctz168/aitun
Keywords: tunnel,ngrok,ssh,rdp,port-forwarding,nat-traversal
Classifier: Development Status :: 4 - Beta
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.8
Description-Content-Type: text/markdown

# AiTun

Secure tunnel service that exposes local servers to the public internet.

## Install

```bash
pip install aitun
```

## Quick Start

```bash
# Forward a local web server
aitun -p 8080

# Forward SSH access (auto-allocated port from 7000+)
aitun -p 22 --tcp-ports 22 -k YOUR_TOKEN

# Forward RDP (auto-allocated port from 7000+)
aitun -p 3389 --tcp-ports 3389 -k YOUR_TOKEN
```

## Features

- HTTP/HTTPS tunneling with subdomain routing
- TCP tunneling with automatic port allocation (7000-7999)
- P2P direct connection (IPv6/UPnP)
- WebSocket proxy support
- End-to-end encryption
- Cross-platform (Linux, macOS, Windows)

## Links

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