1
0
Fork 0
dot/.config/wireguard
urosm 4ecdcac426 add `wireguard` config 2023-08-22 22:10:12 +02:00
..
README add `wireguard` config 2023-08-22 22:10:12 +02:00
client.conf add `wireguard` config 2023-08-22 22:10:12 +02:00
server.conf add `wireguard` config 2023-08-22 22:10:12 +02:00

README

quickstart

	sudo apt install wireguard-tools


serverside configuration

	sudo sysctl -w net.ipv4.ip_forward=1
	sudo sed -i "s/^#net.ipv4.ip_forward = 1/net.ipv4.ip_forward = 1/" /etc/sysctl.conf


generating keys

	wg genkey > client.key
	wg pubkey < client.key > client.pub