<div dir="ltr">I happen to have a similar problem, using `AllowedIPs = <a href="http://0.0.0.0/0`">0.0.0.0/0`</a> on both sides of a wireguard link works, but when I try to add more peers, all but one gets `(none)`. I know this is by design, but it would be sweet if I can manually set gateways within a wireguarded network.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 22, 2016 at 11:14 PM, Bruno Wolff III <span dir="ltr"><<a href="mailto:bruno@wolff.to" target="_blank">bruno@wolff.to</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jul 22, 2016 at 14:42:52 +0200,<br>
"Jason A. Donenfeld" <<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I usually do something like:<br>
<br>
wg set wg0 peer ABCD allowed-ips <a href="http://0.0.0.0/0" rel="noreferrer" target="_blank">0.0.0.0/0</a><br>
ip route add 0/1 dev wg0<br>
ip route add 128/1 dev wg0<br>
</blockquote>
<br></span>
The idea I am working on now is to use policy writing and rules, so that packets sent to the proxy server are routed using the normal routing table which includes the default route supplied by dhcp, but eveything else (well not 127/8) uses an alternate routing table that has a default route through wg0. This way I can use a fixed set up and not have to parse the routing info setup after a wireless connection is made.<br>
<br>
I need to do some reading to get the details for creating routing tables and rules for picking them, but expect this will work.<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank">WireGuard@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="monospace, monospace">Regards,<br><br>Quan Zhou<br></font><span style="font-family:monospace,monospace;font-size:12.8px">+------------------------+</span></div><div dir="ltr"><font face="monospace, monospace">|pub [expires 2019-05-04]|</font><br style="font-family:monospace,monospace;font-size:12.8px"><font face="monospace, monospace">|2C0C 4D88 E631 4C73 4C44|<br>|CDE0 C0E 5470 1D2D 3F3EE|</font></div><div dir="ltr"><font face="monospace, monospace">+------------------------+<br>|pub [revoked 2016-04-16]|<br>|44D2 0307 1643 E80F 2E31|<br>|F081 FAFA 6643 7F9F D46F|<br>+------------------------+<br>|<a href="mailto:quanzhou822@gmail.com" target="_blank">quanzhou822@gmail.com</a> |<br>|<a href="https://keybase.io/qzhou" target="_blank">https://keybase.io/qzhou</a>|<br>+------------------------+</font></div></div></div></div></div></div></div></div></div>
</div>