naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/
MIT License
673 stars 33 forks source link

Fail on no internet #18

Closed botto closed 4 years ago

botto commented 4 years ago

This PR just checks if the connection attempt to 8.8.8.8 failed or not before we proceed

naggie commented 4 years ago

Thanks!