Difference between revisions of "WireGuard"

From Fixme.ch
Jump to: navigation, search
(Client configuration)
(Client configuration)
Line 16: Line 16:
 
</pre>
 
</pre>
  
Send your public key to [[User:Francois]] to get added.
+
Send your public key to [[User:Francois]] to get added. See https://www.wireguard.com/quickstart/
  
 
= Router configuration =
 
= Router configuration =

Revision as of 00:42, 6 October 2018

WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.

It is currently deployed on our lovely Ubiquity EdgeRouter-PRO.

Client configuration

[Interface]
PrivateKey = HAHAHAHAHAHA
Address = 192.168.131.2

[Peer]
Endpoint = 62.220.131.170:53
PublicKey = 4FVgHmPtsY7Rg7VlNrNC0x2RVFHlYJOh8ln7q77THxo=
AllowedIPs = 0.0.0.0/0, ::/0

Send your public key to User:Francois to get added. See https://www.wireguard.com/quickstart/

Router configuration

francois@ubnt-fixme# show interfaces wireguard 
 wireguard wg0 {
     address 192.168.131.1/24
     listen-port 51820
     peer ehn2tJDbFUtHVXf4095KPm9vFetxcCoR6YDCjpFfohc= {
         allowed-ips 192.168.131.2/32
     }
     private-key HAHAHAHAHAHAHA
 }
[edit]