Discover the actual outgoing address and port when behind a NAT.
- Designed for easy and secure self-hosting.
- XChaCha20-Poly1305 AEAD.
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='