opdt-go

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: AGPL-3.0

README

Outgoing Port Discovery Tool

Go Reference Test Release opdt-go AUR package opdt-go-git AUR package

Discover the actual outgoing address and port when behind a NAT.

Features

  • Designed for easy and secure self-hosting.
  • XChaCha20-Poly1305 AEAD.

Usage

To get started, generate a PSK, edit the server configuration, and start the server:

openssl rand -base64 32
sudo nano /etc/opdt-go/config.json
sudo systemctl enable --now opdt-go

Run the program in client mode to discover the client address and port:

opdt-go -client '[2001:db8:bd63:362c:2071:a0f6:827:ab6a]:20220' -clientBind ':10128' -clientPSK 'XbQZKDJTbbhuSwF0muQx6L9swsAmf0VOYIApri7nHUQ='

License

AGPLv3

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL