Enable IP forwarding
sudo sysctl -w net.ipv4.ip_forward=1
Start the wg0
sudo wg-quick up wg0
| #!/bin/bash | |
| # | |
| # This version uses September 2017 august stretch image, please use this image | |
| # | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Must be root" | |
| exit | |
| fi |
| #!/usr/bin/env bash | |
| # Clear out all previous attempts | |
| rm -rf "/tmp/source-git/" | |
| # Get the dependencies for git, then get openssl | |
| sudo apt-get install build-essential fakeroot dpkg-dev -y | |
| sudo apt-get build-dep git -y | |
| sudo apt-get install libcurl4-openssl-dev -y | |
| mkdir -p "/tmp/source-git/" |