add readme

This commit is contained in:
Shane Pearman committed 2025-09-18 06:02:14 +02:00
1 parent afa4d19baa
commit 044e31ded4
3 files changed
+43 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "rns-vpn"
description = "Reticulum VPN"
description = "P2P Reticulum VPN"
version = "0.1.0"
license = "MIT"
edition = "2024"
+42
View File
@@ -0,0 +1,42 @@
# `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`
View File
File renamed without changes.