WireGuard

From Fixme.ch
Revision as of 00:48, 13 January 2018 by Francois (Talk | contribs)

Jump to: navigation, search

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

user@fixme:~$ sudo cat /etc/wireguard/fixme.conf 
[Interface]
PrivateKey = HOHOHOHOHOHOHOHOHOHOHO
Address = 192.168.131.2

[Peer]
Endpoint = 62.220.135.254:51820
PublicKey = 4FVgHmPtsY7Rg7VlNrNC0x2RVFHlYJOh8ln7q77THxo=
AllowedIPs = 0.0.0.0/0, ::/0
user@fixme:~$ 

Send your public key to User:Francois to get added.

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]