Fixed entrypoint.sh to properly clean-up (run this finish() function) on container shutdown. This ensures the wg0 interface and iptables rules dont linger around (the presence of the lingering wg0 interface actually made starting the container again after a shutdown fail because the interface was found to already exist).
Also, fixed a small typo in the readme for generating public key from private key. (As reported in issue #18)
Fixed entrypoint.sh to properly clean-up (run this
finish()
function) on container shutdown. This ensures the wg0 interface and iptables rules dont linger around (the presence of the lingering wg0 interface actually made starting the container again after a shutdown fail because the interface was found to already exist).Also, fixed a small typo in the readme for generating public key from private key. (As reported in issue #18)