Difference between revisions of "/etc/wireguard/"

From wikieduonline
Jump to navigation Jump to search
 
Line 10: Line 10:
 
  [Peer]
 
  [Peer]
 
  PublicKey = <contents-of-server-publickey>
 
  PublicKey = <contents-of-server-publickey>
  Endpoint = <server-public-ip>:51820
+
  Endpoint = <server-public-ip>:[[51820]]
 
  AllowedIPs = 0.0.0.0/0, ::/0
 
  AllowedIPs = 0.0.0.0/0, ::/0
 
  
 
== See also ==
 
== See also ==

Latest revision as of 12:54, 25 January 2024

/etc/wireguard/
/etc/wireguard/wg0.conf

Client example configuration[edit]

[Interface]
Address = 10.0.0.2/32
PrivateKey = <contents-of-client-privatekey>
DNS = 1.1.1.1

[Peer]
PublicKey = <contents-of-server-publickey>
Endpoint = <server-public-ip>:51820
AllowedIPs = 0.0.0.0/0, ::/0

See also[edit]

Advertising: