Initial IPv6 support
- IPv6 is now supported inside the tunnel, but not outside the tunnel.
AutoPay proof of concept
- Add
AutoPaymode that automatically rents, sets up, and continuously maintains Credit. - Made
GetConfask if you want to automatically setup the tunnel interface using NetworkManager or wg-quick. - Instead of asking, automatically write wireguard configuration files to
$HOME/.StaticWire/WireGuardConfigFiles/and also soft link them to/etc/wireguard/if possible. - Catch shutdown signals and cleanly shutdown.
- Only allow one instance of
staticIPto run at a time. - Use the python
loggingmodule, writing to both standard output and to a file. - Updated
AddCreditto use the new rental server API that accommodatesAutoPay. - The
docker-compose.ymlfile now includes theNET_ADMINcapability in order to allowstaticIPto automatically create the wireguard network interface.
Minor Improvements
- Remove the
RentNewIPandRenewactions and combined them into a single actionAddCreditthat automatically rents a new IP if no existing rentals are found associated with the user's wireguard public key. - Allow custom rental credit amounts to be specified within minimum and maximum limits defined by the rental server. This now allows users to test the service with less investment and also allows them to choose their payment frequency.
- More descriptive status and terms of sale messages in the console output.
- Parse command line arguments before processing the config file.
- Better error reporting and handling.
Initial Release