msg800
Fast, elegant TCP tunneling with encryption and live visibility.
If you want to ship a tunnel in minutes and still keep observability, msg800 is built for that exact moment.
Why people love it at first glance
- One command to start a tunnel.
- Built-in encrypted modes (
bird,bird-v2). - Built-in real-time dashboard (
/dashboard) with per-tunnel stats. - Clean CLI, practical defaults, and no control-plane complexity.
Install
pip install msg800
Or run without installing globally via uv run:
uv run --with msg800 msg800 -l 0.0.0.0:8000 -r 127.0.0.1:80
Start in 10 seconds
msg800 -l 0.0.0.0:8000 -r 127.0.0.1:80
General form:
msg800 -l <local_host:port> -r <remote_host:port> [options]
Protocols
none: transparent forwarding.bird: AES-128-CBC framing with random noise.bird-v2: AES-128-CTR framing with random noise (higher throughput profile).
For encrypted modes, both sides must use the same protocol, key, and iv.
Common usage
Transparent tunnel:
msg800 -l 0.0.0.0:8000 -r 10.0.0.10:9000
Encrypted tunnel with bird:
msg800 -l 0.0.0.0:8000 -r remote:80 \
--downstream-protocol bird \
--downstream-key "0123456789abcdef" \
--downstream-iv "fedcba9876543210"
High-throughput encrypted tunnel with bird-v2:
msg800 -l 0.0.0.0:8000 -r remote:80 \
--downstream-protocol bird-v2 \
--downstream-key "0123456789abcdef" \
--downstream-iv "fedcba9876543210"
Enable monitoring API:
msg800 -l 0.0.0.0:8000 -r remote:80 --api 127.0.0.1:8080
Open dashboard: http://127.0.0.1:8080/dashboard
Common deployment pattern (A -> B -> C -> D)
This pattern is useful when both ends are private networks, and only the middle cross-network hop needs encryption.
Topology:
A (private service) -> B (edge) => encrypted => C (edge) -> D (private target)
A -> B: internal network, plaintext (none)B -> C: cross-network hop, encrypted (bird)C -> D: internal network, plaintext (none)
Role of each node
- B: accepts plaintext from A, then forwards to C using encrypted upstream (
bird). - C: accepts encrypted downstream from B, decrypts it, then forwards plaintext to D.
Example commands
Run on B (downstream none, upstream bird):
msg800 -l 0.0.0.0:8000 -r C_PUBLIC_IP:9000 \
--upstream-protocol bird \
--upstream-key "0123456789abcdef" \
--upstream-iv "fedcba9876543210"
Run on C (downstream bird, upstream none):
msg800 -l 0.0.0.0:9000 -r D_PRIVATE_IP:80 \
--downstream-protocol bird \
--downstream-key "0123456789abcdef" \
--downstream-iv "fedcba9876543210"
Notes:
B --upstream-*andC --downstream-*must use the same protocol, key, and iv.Ashould connect toB:8000.Donly sees traffic from C in its own private network.
CLI options
| Option | Description | Default |
|---|---|---|
-l, --local |
Local listen address | Required |
-r, --remote |
Remote target address | Required |
--downstream-protocol |
Downstream protocol | none |
--downstream-key |
Downstream key (16 bytes) | |
--downstream-iv |
Downstream IV (16 bytes) | |
--upstream-protocol |
Upstream protocol | none |
--upstream-key |
Upstream key (16 bytes) | |
--upstream-iv |
Upstream IV (16 bytes) | |
--api |
API bind address (host:port) |
|
-v, --verbose |
Verbose logs | false |
Monitoring API
When --api is enabled:
| Endpoint | Description |
|---|---|
GET / |
API metadata |
GET /stats |
Tunnel stats (JSON) |
GET /dashboard |
Live dashboard |
GET /docs |
OpenAPI docs |
Why choose msg800 vs other famous tools?
Great projects like frp, gost, stunnel, and shadowsocks each solve important problems. If you need rich control planes, multi-feature proxy stacks, or broad protocol ecosystems, they are excellent choices.
If you want one standout reason to choose msg800:
You get encrypted TCP tunneling and live per-tunnel observability in one tiny CLI, with almost zero setup overhead.
That combination is the core product value.
Docs
- Protocol spec:
docs/PROTOCOL_SPEC.md - Development guide:
docs/DEVELOPMENT.md
Metadata
Release files for msg800 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| msg800-0.1.0.tar.gz | 8.4 kB | With provenance | Details for msg800-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| msg800-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for msg800-0.1.0-py3-none-any.whl |
Total release size: 18.5 kB
Release files / msg800-0.1.0.tar.gz
| Download URL | msg800-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88f9eb529b55c0a5c93086ae3b6c62faa0540236e935d3d729bf62743ac107db
|
|
BLAKE2b-256 checksum How to use checksums |
2ebf838f18009fba6f69e945eba3b800a170e25e73c7c3b59a7c150e8a20bb93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency logRelease files / msg800-0.1.0-py3-none-any.whl
| Download URL | msg800-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f2d3684ba8924dfba9fc00331b38a8cd07bad26ff4dd56e0ebebbaf5154f707
|
|
BLAKE2b-256 checksum How to use checksums |
d094e3ddd349d112fc3f13d7cbc0ebf5355cab80639de69eeaab395fb53a9383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency logSecurity for msg800 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for msg800-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.