Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) sudo su
- 2) apt install raspberrypi-kernel-headers libelf-dev libmnl-dev build-essential git
- 3) git clone https://git.zx2c4.com/wireguard-linux-compat
- 4) git clone https://git.zx2c4.com/wireguard-tools
- Compile and install the module
- 5) make -C wireguard-linux-compat/src -j$(nproc)
- 6) sudo make -C wireguard-linux-compat/src install
- Compile and install the wg(8) tool
- 7) make -C wireguard-tools/src -j$(nproc)
- 8) sudo make -C wireguard-tools/src install
- 9) nano /etc/sysctl.conf
- 10) uncomment this line: net.ipv4.ip_forward=1
- 11) reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement