From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: matthias@urlichs.de Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 463f407e for ; Fri, 22 Jun 2018 15:10:11 +0000 (UTC) Received: from netz.smurf.noris.de (mail.vm.smurf.noris.de [IPv6:2001:780:107:8:83::]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id a9eb29f4 for ; Fri, 22 Jun 2018 15:10:11 +0000 (UTC) Received: from [2001:780:107:0:1278:d2ff:fea3:d4a6] by mail.vm.smurf.noris.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1fWNlg-0001gP-8w for wireguard@lists.zx2c4.com; Fri, 22 Jun 2018 17:14:32 +0200 Subject: Re: PostUp/PreUp/PostDown/PreDown Dangerous? To: wireguard@lists.zx2c4.com References: <6645df4c-3f98-6df9-fc48-6748ad4d6c00@unstable.cc> From: Matthias Urlichs Message-ID: <4663e0b5-fe87-b26a-e87d-279305188976@urlichs.de> Date: Fri, 22 Jun 2018 17:14:31 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 22.06.2018 15:08, Jacob Baines wrote: > Excuse my speaking in generalities but a majority of users aren't > going to understand how OpenVPN works, let alone how the configuration > file affects the program. Fortunately, WireGuard is a lot more approachable. All you really need is a basic understanding of PK crypto, i.e. you need a private key for yourself and the public key of whoever you want to talk with, both of which can be generated with very simple commands. You can learn how to set it up in half an hour. In contrast, understanding SSL and OpenVPN well enough to be able to generate a config file, let alone know how to debug it, takes a day – and then you don't know how to debug it. With WireGuard you need to answer three questions – do the endpoints see each others' packets? do the public keys match? are the remote IP addresses correct (plus routed to the WG network interface, not filtered, etc.)? If "yes", it'll work. Dead simple. -- -- Matthias Urlichs