wg-quick can't down my vpn I/F and DNS problem

Jason A. Donenfeld Jason at zx2c4.com
Tue May 2 19:08:10 CEST 2017


DNS is solved using the PostUp line. See the man page example -- `man
wg-quick`.

For your down error, can you send precise command line output?

--
Sent from my telephone.

On May 2, 2017 18:55, "Bzzzz" <lazyvirus at gmx.com> wrote:

> On Tue, 2 May 2017 18:31:14 +0200
> "Jason A. Donenfeld" <Jason at zx2c4.com> wrote:
>
> Oops, sorry for the PM, I put my answer back in the loop.
>
> > If your wg-quick config file is in /etc/wireguard and ends in ".conf"
> > then you can use `wg-quick down vpnserver`. Otherwise, please specify
> > the full path when calling wg-quick down.
>
> Hi Jason, very nice work BTW,
>
> this is _exactly_ what I do, on the server and the client, I've:
> /etc/wireguard/vpnserver.conf
> /etc/wireguard/vpnclient.conf
>
> I created 4 scripts: SERVER||CLIENT_WG_UP||DOWN.sh that use this syntax,
> (it either fails when typing it in command line).
>
> So the command issued are:
> wg-quick up vpnserver (works perfectly)
> wg-quick down vpnserver (fails)
> and d° for the client.
>
> My setup is basic (but may be wrong) on both srv & cli, here's the srv
> one:
>
> [Interface]
> Address         = 10.11.12.1/24
> ListenPort      = 1194
> PresharedKey    = …
> PrivateKey      = …
> [Peer]
> PublicKey       = …
> AllowedIPs      = 0.0.0.0/0
>
> The VPN is working, I made a try yesterday, passing by my cell phone
> to reach my site and was amazed by the speed 'cos I keep my phone in gsm
> mode, otherwise it eats my battery alive (so ~20kB max speed on an old
> Xperia x10).
>
> This isn't really a problem, as I use 2 lines that do the work
> correctly; however, the DNS problem is a real concern.
>
> Jean-Yves
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170502/4631278d/attachment.html>


More information about the WireGuard mailing list