<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>coming back with this<br>
</p>
<p>is ok if I make a patch to add an option for this situation ?<br>
</p>
<div class="moz-forward-container">keep the default as it is and if
the let's say NOT_DEFAULT=true, to skip the add_route or something
like this<br>
<br>
Regards!<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>wg-quick add_route</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Wed, 12 Jul 2017 20:53:01 +0300</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Lucian Cristian <a class="moz-txt-link-rfc2396E" href="mailto:luci@createc.ro"><luci@createc.ro></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>WireGuard mailing list
<a class="moz-txt-link-rfc2396E" href="mailto:wireguard@lists.zx2c4.com"><wireguard@lists.zx2c4.com></a>, jason A. Donenfeld
<a class="moz-txt-link-rfc2396E" href="mailto:Jason@zx2c4.com"><Jason@zx2c4.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hi Jason,
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
be great
until then I've disabled add_route rule in the script
Regards
</pre>
</div>
</body>
</html>