Created
June 17, 2021 17:13
-
-
Save geeknik/ca9fd5b2a375bc33b31bd62766d0d0c4 to your computer and use it in GitHub Desktop.
random mullvad wireguard server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wg-quick down "$(ifconfig | grep -Po ^mullvad-us[[:digit:]]{3})" | |
wg-quick up /etc/wireguard/"$(ls /etc/wireguard/ | shuf -n 1)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment