Jump to content

User talk:Cmsigler/Wireguard Configuration Guide

From ArchWiki
Latest comment: 16 July 2024 by Maybl8 in topic Modifying settings for my use

Modifying settings for my use

What settings should I modify for my gateway and peer.

For example should this setting be my public ip address:

Endpoint = 198.51.100.49:51871

here are my gateway and vpn config files

[Interface]

Address = 10.0.0.1/24, 2001:db8:1234:5678::1/64, fd89:abc1:def2:1::1/64

ListenPort = 51871

PrivateKey = <key not shown>

[Peer]

PublicKey = <key not shown>

PresharedKey = <key not shown>

AllowedIPs = 10.0.0.2/32, 2001:db8:1234:5678::2/128, fd89:abc1:def2:1::2/128


vpn peer

[Interface]

Address = 10.0.0.2/32, 2001:db8:1234:5678::2/128, fd89:abc1:def2:1::2/128

ListenPort = 51902

PrivateKey = <key not shown>

DNS = 2001:db8:1234:5678::1, 10.0.0.1

[Peer]

PublicKey = <key not shown>

PresharedKey = <key not shown>

AllowedIPs = 0.0.0.0/0, ::/0

Endpoint = 47.205.65.104:51820


Maybl8 (talk) 13:51, 16 July 2024 (UTC)Reply