Crates.io | hafnium |
lib.rs | hafnium |
version | 0.1.0 |
source | src |
created_at | 2024-11-07 23:24:55.90563 |
updated_at | 2024-11-07 23:24:55.90563 |
description | A simple and secure port forward reverse proxy. |
homepage | |
repository | https://github.com/xlmnxp/hafnium |
max_upload_size | |
id | 1440497 |
size | 346,324 |
Hafnium is reverse proxy, it use to expose local port over nat (ex. CGNAT)
hf genkey
command
Implement server core functionality
Implement port management commands
hf allow <port> [tcp/udp]
hf disallow <port> [tcp/udp]
Implement connection management
hf list peers
hf list ports
hf disconnect [peer_public_key]
Configuration system
hf config get <key>
hf config set <key> <value>
Implement client core functionality
hf connect <ip_address>:<port> <public_key>
Port forwarding features
hf open <port> [tcp/udp]
hf close <port> [tcp/udp]
Client utilities
hf list peers
hf list ports
hf disconnect
the code license is AGPL-3.0
read more.