Go to file
2023-11-06 02:26:42 +00:00
.gitignore updates 2023-11-05 04:21:07 -07:00
client.template updates 2023-11-05 04:21:07 -07:00
new-client.sh comments 2023-11-05 04:22:42 -07:00
peer.template fix templating 2023-11-05 18:07:47 -07:00
README.md Update README.md 2023-11-06 02:26:42 +00:00
server.template fix templating 2023-11-05 18:07:47 -07:00

What you'll need:

  • Wireguard installed
  • A method of moving files from device to device

What you may want:

  • To change net.ipv4.ip_forward to 1 in /etc/sysctl.conf on the server. This will allow peers to see eachother. Also add the following to the server's [interface]
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o enp2s0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o enp2s0 -j MASQUERADE