Development discussion of WireGuard
 help / color / mirror / Atom feed
From: jens <jens@viisauksena.de>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: wg-ip, a tool to assign automatic ip addresses to wireguard interfaces
Date: Thu, 12 Apr 2018 14:54:23 +0200	[thread overview]
Message-ID: <2836e61a-cdd0-721c-cbfc-df5ef6c91bc6@viisauksena.de> (raw)
In-Reply-To: <CAHLp1YkNypEBTK3MWN9hOgBt9p1jh1z76U0tdGTccbJ_PeA=Pw@mail.gmail.com>

i once had written a script for some openWRT (lede) Routers for Freifunk,
first of all, take ipV6 inside your tunnel, and mix localnet V6
Addresses with the MAC - this way you get a very distinct pair of V6
Address and Key
This assumes that a Server has fixed ip and key.

keyline in Setup is this
uci set wireguard.wireguard.ownip=fdf1::$(cat
/sys/class/net/eth0/address|awk 'BEGIN{FS=":"}{print $1$2":"$3$4":"$5$6}')

found here, if you want to look around a bit
https://github.com/viisauksena/gluon-mesh-wireguard/blob/cb77788ee49fe5b81789d01eed49aa30e971dd8e/files/lib/gluon/upgrade/405-wireguard

maybe this brings some new hints-- the gluon wireguard project has
actually stopped.

greetz


--
make the world nicer, please use PGP encryption

  reply	other threads:[~2018-04-12 12:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 12:32 Christophe-Marie Duquesne
2018-04-10 12:48 ` ST
2018-04-10 12:57 ` ST
2018-04-11 20:45 ` Christophe-Marie Duquesne
2018-04-12  9:01   ` ST
2018-04-12 11:42   ` Christophe-Marie Duquesne
2018-04-12 12:54     ` jens [this message]
2018-04-12 12:56     ` Matthias Urlichs
2018-04-12 13:21     ` mikma.wg
2018-04-13 22:25 ` Jason A. Donenfeld
2018-04-14  8:40   ` Christophe-Marie Duquesne
2018-04-14 11:51   ` Claude

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=2836e61a-cdd0-721c-cbfc-df5ef6c91bc6@viisauksena.de \
    --to=jens@viisauksena.de \
    --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).