You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
450 B
Bash
20 lines
450 B
Bash
#!/bin/bash
|
|
|
|
# Install base packages for wgas
|
|
|
|
set -x
|
|
|
|
# Update package metadata and install base dependencies
|
|
apt-get update
|
|
apt-get install -y git sudo gettext
|
|
|
|
# Install WireGuard
|
|
apt-get install -y software-properties-common
|
|
add-apt-repository -y ppa:wireguard/wireguard
|
|
apt-get update
|
|
apt-get install -y "linux-headers-$(uname -r)"
|
|
apt-get install -y wireguard iptables resolvconf
|
|
|
|
# Install Rust dependencies
|
|
apt-get install -y build-essential
|