Fwd: wg-quick add_route
luci at createc.ro
Fri Oct 27 19:23:45 CEST 2017
coming back with this
is ok if I make a patch to add an option for this situation ?
keep the default as it is and if the let's say NOT_DEFAULT=true, to skip
the add_route or something like this
-------- Forwarded Message --------
Subject: wg-quick add_route
Date: Wed, 12 Jul 2017 20:53:01 +0300
From: Lucian Cristian <luci at createc.ro>
To: WireGuard mailing list <wireguard at lists.zx2c4.com>, jason A.
Donenfeld <Jason at zx2c4.com>
I'm using wireguard in some mixed topology and until now I've had LEDE
routers as clients but now I would like to add some CENTOS(and other
distros) clients too.
On LEDE there is an option "Create routes for Allowed IPs for this peer"
that is off by default, but in wg-quick this thing is not optional and
the routes are created by default, so if I would like to allow
10.0.0.0/8 it would create default route for all 10.0.0.0/8 to wg
interface and I don't want that.
I would like to use dynamic routing (rip+eigrp) for routing, if you
could add an entry to peers not to add default route to allowed ip would
until then I've disabled add_route rule in the script
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the WireGuard