Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jörg Thalheim" <joerg@thalheim.io>
To: wireguard@lists.zx2c4.com
Subject: Re: Announcement: Public Wireguard server for testing
Date: Sun, 26 Feb 2017 19:25:02 +0100	[thread overview]
Message-ID: <404f1b9a-9321-edbe-6981-f98c3649e712@thalheim.io> (raw)
In-Reply-To: <CANTUoecoSxQD33M1YbQBqMGPCiLdKwzDkB6p6of=Zo_edgu40Q@mail.gmail.com>

In this context, I found the following rules useful to bypass the vpn for=
 some routes:

#!/usr/bin/env bash
# /etc/wireguard/<profile>.sh

if [ "${1:-down}" =3D "up" ]; then
  action=3D"add"
else
  action=3D"del"
fi

ip rule $action priority 32763 to 192.168.0.0/16 lookup main
ip rule $action priority 32763 to 172.16.0.0/12 lookup main
ip rule $action priority 32763 to 10.0.0.0/8 lookup main
ip -6 rule $action priority 32763 to fd::/8 lookup main
ip -6 rule $action priority 32763 to 2000::/3 unreachable

#/etc/wireguard/<profile>.conf

[Interface]

#....

PostUp=3D/etc/wireguard/<profile>.sh up
PostDown=3D/etc/wireguard/<profile>.sh down


On 2017-02-25 14:28, Fredrik Str=C3=B6mberg wrote:
> Hi all,
>
> I'm one of the co-founders of Mullvad, as well as a long time lurker
> of this list. I guess I haven't engaged in public discussion until now
> though.
>
> Mullvad is trying out Wireguard, and in that spirit we've set up a
> server for public use. Just follow the instructions at the link below
> and email your pubkey to support@mullvad.net.
>
> https://mullvad.net/guides/wireguard-and-mullvad-vpn/
>
> We're doing this so that people might try Wireguard more easily, as
> well as for us so that we can learn. We're supporting it on a purely
> experimental basis, so no guarantees on uptime or anything. Sometime
> soon we'll install a 10 Gbit card to see where things break first.
> Enjoy :)
>
> Cheers,
> Fredrik Str=C3=B6mberg
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

      parent reply	other threads:[~2017-02-26 18:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-25 13:28 Fredrik Strömberg
2017-02-25 20:25 ` Dan Lüdtke
2017-02-26 18:25 ` Jörg Thalheim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=404f1b9a-9321-edbe-6981-f98c3649e712@thalheim.io \
    --to=joerg@thalheim.io \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).