Files
rns-vpn-rs/README.md
T
2025-09-18 06:02:14 +02:00

1.2 KiB

rns-vpn

P2P VPN over Reticulum mesh network

Library and application for VPN client over Reticulum mesh network.

Building

Building Reticulum-rs requires protoc binary for compiling .proto files.

Client configuration

vpn_ip -- the IP assigned to this client in CIDR format (e.g. 10.0.0.1/24)

peers -- a map of <ip> = <destination-hash> pairs for each peer to communicate with on the network

Client application

Client application uses a Reticulum UDP interface that is configured with command-line arguments.

Private keys can be generated with openssl tool using the genkeys.sh script.

Command-line options:

-p <port> -- required: local UDP port for Reticulum interface

-f <ip>:<port> -- required: IP and port for upstream Reticulum node

[-i <name>] -- optional: use string to generate private ID; overrides creation of identity with RNS_VPN_PRIVKEY_PATH/RNS_VPN_SIGNKEY_PATH variables

Environment variables:

RNS_VPN_PRIVKEY_PATH -- path to X25519 private key in PEM format for Reticulum identity

RNS_VPN_SIGNKEY_PATH -- path to ed25519 signing key in PEM format for Reticulum identity

RUST_LOG -- set log level: trace, debug, info, warn, error