Article 5RTBQ Wireguard static ip

Wireguard static ip

by
PROBLEMCHYLD
from LinuxQuestions.org on (#5RTBQ)
I will be setting up WG on a machine that has a static ip 192.168.0.100.

I want the client that is connecting to have the static ip 192.168.0.104.

Did I set this up correctly?

server.conf

Code:[Interface]
Address = 192.168.0.100/24
ListenPort = 51820
PrivateKey = QMzXZuwgGn8EnQ=

[Peer]
PublicKey = 5EyxXePqxJSaLeZwyc=
PresharedKey = rWq6A14=
AllowedIPs = 192.168.0.104/32client.conf
Code:[Interface]
Address = 192.168.0.104/24
ListenPort = 51820
PrivateKey = K0FH2UFsZMAFM=

[Peer]
PublicKey = hRWWmxc=
PresharedKey = cRq6A14=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 192.168.0.100:51820latest?d=yIl2AUoC8zA latest?i=eP7eKxgW5mA:ATPtjHxyBKU:F7zBnMy latest?i=eP7eKxgW5mA:ATPtjHxyBKU:V_sGLiP latest?d=qj6IDK7rITs latest?i=eP7eKxgW5mA:ATPtjHxyBKU:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments