Skip to content

Instantly share code, notes, and snippets.

@lism
lism / wireguard-site-to-site.sh
Created February 23, 2023 05:55 — forked from jtmoon79/wireguard-site-to-site.sh
Wireguard Site to Site generator
#!/usr/bin/env bash
#
# https://gist.github.com/jtmoon79/c951f81f621bb87ddb60836245aca4ff
#
# Script to generate a site-to-site Wireguard IPv4 VPN tunnel
# configuration files, and commands for systemd services.
# This script only covers a narrow scope of possible networking arrangements.
# It may not perfectly fit the user's needs, but it may provide the user with
# a working example that they can modify for their needs.
#