-
-
Save sepsol/d26eae5da05e646769fb33bc1a9d0d8f to your computer and use it in GitHub Desktop.
WireGuard configuration for a point-to-site connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was generated using wireguard-ui (https://github.com/ngoduykhanh/wireguard-ui) | |
# Please don't modify it manually, otherwise your change might get replaced. | |
# Address updated at: 2023-10-17 22:43:35.783473548 +0000 UTC | |
# Private Key updated at: 2023-10-13 23:14:11.518427052 +0000 UTC | |
[Interface] | |
Address = 10.0.1.0/24 | |
ListenPort = 51820 | |
PrivateKey = [REDACTED] | |
MTU = 1450 | |
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE | |
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE | |
Table = auto | |
# ID: ckn0ga4tejts749b1470 | |
# Name: Test | |
# Email: | |
# Created at: 2023-10-17 04:06:00.589094369 +0000 UTC | |
# Update at: 2023-10-18 00:28:43.116654729 +0000 UTC | |
[Peer] | |
PublicKey = [REDACTED] | |
PresharedKey = [REDACTED] | |
AllowedIPs = 10.0.1.10/32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment