Piroxy
Piroxy is a SOCKS5 proxy that uses iroh as its transport layer. This means that you can connect to remote machines without exposing any ports, or adding special firewall rules.
Getting Started
Prerequisites
- Rust (Recommended: Install via Rustup)
Build
Run
Install
Configuration
Configs can be modified by simple file ops. No need to restart the app itself. See examples below.
Server
# Init identity
# Print server ID
# Whitelist a client to allow connections
CONF_DIR=""
CLIENT_ID="<Get identity from client>"
# OR Optionally, write some server metadata as well. This is ignored by the app
# Start the proxy
Client
# Init identity
# Print client ID
# (optional) Register an alias for server
CONF_DIR=""
SERVER_ID="<Get identity from server>"
SERVER_ALIAS="<alias name for server, so you won't have to remember IDs>"
# Connect to the server
# OR directly use server ID without an alias (by adding a colon as prefix)
Contributing
This is a hobby project, so expect some rough edges. For any feedback or feature suggestions, pull requests and issues are always welcome!