G6_Public/wg-install.sh

7 lines
156 B
Bash

#!/bin/sh
apt update
apt upgrade -y
apt install wireguard resolvconf -y
echo '64.176.163.201 wg.g6.network' >> /etc/hosts
#cp wgfile.conf
#wg-quick up peerX