From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: me.kalin@gmail.com Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.161.172]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id fdfb5893 for ; Fri, 18 Nov 2016 11:39:37 +0000 (UTC) Received: by mail-yw0-f172.google.com with SMTP id r204so161939406ywb.0 for ; Fri, 18 Nov 2016 03:42:41 -0800 (PST) MIME-Version: 1.0 From: Kalin KOZHUHAROV Date: Fri, 18 Nov 2016 20:42:20 +0900 Message-ID: To: WireGuard mailing list Content-Type: multipart/alternative; boundary=001a114d6deeb7dfd5054191cdb0 Subject: [WireGuard] What is a good way to ingrate (as of now) wireguard into openrc in Gentoo? List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --001a114d6deeb7dfd5054191cdb0 Content-Type: text/plain; charset=UTF-8 Hello, I have been testing a few things between Gentoo and few OpenWRT boxen, so far so good. Just saw that Luci config landed, recompiling now. This brings me to "What is a good way to ingrate (as of now) wireguard into openrc in Gentoo?" question. I have my scripts, I just found out about /lib64/netifrc/net/wireguard.sh but I couldn't find a way to edit /etc/conf.d/net so that I can integrate it. Since Jason is a Gentoo user/dev I thought that is already solved :-D An example static config for the simple case of host_A:wg0<----->wg0:host_B and /-->wg0:host_B host_A:wg0<--|| \-->wg0:host_C (say where A,B,C share some private subnet) will be appreciated. Any good "default" way to store config files? Private keys? Cheers, Kalin. --001a114d6deeb7dfd5054191cdb0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= Hello,

I have been testing a few things between Gentoo and few OpenW= RT boxen, so far so good. Just saw that Luci config landed, recompiling now= .

This brings me to "What is a good way to ingrate (as of now) = wireguard into openrc in Gentoo?" question.

I have my scripts, = I just found out about /lib64/netifrc/net/wireguard.sh but I couldn't f= ind a way to edit /etc/conf.d/net so that I can integrate it.

Since = Jason is a Gentoo user/dev I thought that is already solved :-D

An e= xample static config for the simple case of

host_A:wg0<----->w= g0:host_B

and

=C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 /-->wg0:
host_B
host_A:wg0<--||
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0 =C2=A0=C2=A0 \-->wg0:host_C

(say where A,B,C share some private subnet) will be appreciated.=

Any good "defau= lt" way to store config files? Private keys?

Cheers,
Kalin.
=
--001a114d6deeb7dfd5054191cdb0--