Supgang
Tracks your computers' public IP addresses as they change, without a third-party service.
Supgang shares changing addresses among computers you control, without an outside account, directory or relay.
Unreleased 0.2.0 alpha passed between two Macs over IPv4 with an owner-configured port forward. Recovery after the home address changes is unproven; published 0.1.0 is not a working wide-area release.
Basic use
$ supgang
laptop [8d41c2af] this computer
local 192.168.1.24:44330 preferred
home-server [31be907c] connected
local 192.168.1.40:44330 preferred
public 203.0.113.40:44330
$ supgang home-server
home-server [31be907c] connected
local 192.168.1.40:44330 preferred
public 203.0.113.40:44330
$ supgang tag home-server server
Tagged home-server [31be907c] as server.
The default command lists every computer. A name, tag or partial match narrows the result.
How it stays in touch
On the same network it prefers a local address; elsewhere it tries a public one. Each computer signs its address updates before peers relay them. Old signed addresses are kept for recovery.
An optional always-on computer you own can help separated peers reconnect.
Limit: if every computer is unreachable at every address the others know, an update has nowhere to go.
- Implementation
- Rust · QUIC · macOS + Linux
- Repository
- github.com/Agenxy/supgang