<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Verdana">Hi Sebastian,</font></p>
<p><font face="Verdana">I took care of the FW problems. An iptables
--list shows that the udp port is open. <br>
</font></p>
<p><font face="Verdana">DD-wrt is running using: Firmware:<a
title="About"> DD-WRT v3.0-r36645 std (08/19/18).</a></font></p>
<p><font face="Verdana"><a title="About">Cheers,</a></font></p>
<p><font face="Verdana"><a title="About">Dennis<br>
</a></font></p>
<br>
<div class="moz-cite-prefix">Op 9-10-2018 om 18:29 schreef Sebastian
Gottschall:<br>
</div>
<blockquote type="cite"
cite="mid:796625c4-d114-1b5f-ea79-97b91e682549@newmedia-net.de">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>just to make sure. since i'm updating wireguard in dd-wrt very
often to the latest state of art code from git. which dd-wrt
version did you use for establishing the connection?</p>
<p>did you also take care about usual firewall problems? by
default the the firewall is closed on wan, so no inbound
connection is possible</p>
<p><br>
</p>
<p>Sebastian<br>
</p>
<div class="moz-cite-prefix">Am 09.10.2018 um 17:06 schrieb Dennis
van J.:<br>
</div>
<blockquote type="cite"
cite="mid:163f39a3-0fb5-3645-b6bd-3ddd797c158b@yahoo.com">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<p><font face="Verdana">Hi all,</font></p>
<p><font face="Verdana">I have setup Wireguard on a Gentoo box,
compiled it into the kernel using instructions on the
wireguard website. Got my mobile to connect using 4G to this
box fine, so I wanted to test further with a friend of mine
who has a DD-wrt installation on his router. Wireguard is
integrated into the DD-wrt build, we set it up, but the
tunnel does not come up. On the server I only see this:</font></p>
<p><font face="Verdana">Oct 9 16:45:34 omega kernel:
[178809.449718] wireguard: wg0: Receiving handshake
initiation from peer 10 (x.169.86.x:22300)<br>
Oct 9 16:45:34 omega kernel: [178809.449721] wireguard:
wg0: Sending handshake response to peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:34 omega kernel: [178809.450130] wireguard:
wg0: Keypair 32179 destroyed for peer 10<br>
Oct 9 16:45:34 omega kernel: [178809.450131] wireguard:
wg0: Keypair 32180 created for peer 10<br>
Oct 9 16:45:39 omega kernel: [178814.519668] wireguard:
wg0: Receiving handshake initiation from peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:39 omega kernel: [178814.519671] wireguard:
wg0: Sending handshake response to peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:39 omega kernel: [178814.520062] wireguard:
wg0: Keypair 32180 destroyed for peer 10<br>
Oct 9 16:45:39 omega kernel: [178814.520063] wireguard:
wg0: Keypair 32181 created for peer 10<br>
Oct 9 16:45:44 omega kernel: [178819.579701] wireguard:
wg0: Receiving handshake initiation from peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:44 omega kernel: [178819.579704] wireguard:
wg0: Sending handshake response to peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:44 omega kernel: [178819.580094] wireguard:
wg0: Keypair 32181 destroyed for peer 10<br>
Oct 9 16:45:44 omega kernel: [178819.580095] wireguard:
wg0: Keypair 32182 created for peer 10<br>
Oct 9 16:45:50 omega kernel: [178824.910142] wireguard:
wg0: Receiving handshake initiation from peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:50 omega kernel: [178824.910145] wireguard:
wg0: Sending handshake response to peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:50 omega kernel: [178824.910535] wireguard:
wg0: Keypair 32182 destroyed for peer 10<br>
Oct 9 16:45:50 omega kernel: [178824.910536] wireguard:
wg0: Keypair 32183 created for peer 10<br>
Oct 9 16:45:55 omega kernel: [178829.950001] wireguard:
wg0: Receiving handshake initiation from peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:55 omega kernel: [178829.950003] wireguard:
wg0: Sending handshake response to peer 10
(x.169.86.x:22300)<br>
Oct 9 16:45:55 omega kernel: [178829.950406] wireguard:
wg0: Keypair 32183 destroyed for peer 10<br>
Oct 9 16:45:55 omega kernel: [178829.950407] wireguard:
wg0: Keypair 32184 created for peer 10<br>
</font></p>
<p><font face="Verdana">Port on the server is open (since the 4G
test works). We can reach the 22300 port on his side.
Checked the pub/private keys as well.</font></p>
<p><font face="Verdana">wg show on server:</font></p>
<p><font face="Verdana">interface: wg0<br>
public key: <pubkey server><br>
private key: (hidden)<br>
listening port: 51820<br>
<br>
peer: <pubkey of mobile><br>
endpoint: x.200.39.x:8971<br>
allowed ips: 0.0.0.0/0<br>
latest handshake: 8 hours, 1 minute, 43 seconds ago<br>
transfer: 384.24 KiB received, 2.74 MiB sent<br>
<br>
peer: <pubkey of dd-wrt><br>
endpoint: x.169.86.x:22300<br>
allowed ips: 192.168.1.0/24, 10.100.0.3/32<br>
transfer: 2.00 MiB received, 1.24 MiB sent</font></p>
<p><font face="Verdana">On DD-wrt router:</font></p>
<p><font face="Verdana">interface: oet1<br>
public key: <pubkey dd-wrt><br>
private key: (hidden)<br>
listening port: 22300<br>
<br>
peer: <pubkey of server><br>
endpoint: x.197.199.x:51820<br>
allowed ips: 0.0.0.0/0<br>
transfer: 0 B received, 777.43 KiB sent<br>
persistent keepalive: every 25 seconds<br>
</font></p>
<p><font face="Verdana">We are trying to get logging to work on
that DD-wrt box, that should contain some more clues but
maybe any of you have an idea?</font></p>
<p><font face="Verdana">Cheers,</font></p>
<p><font face="Verdana">Dennis<br>
</font></p>
<p><font face="Verdana"><br>
</font></p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com" moz-do-not-send="true">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard" moz-do-not-send="true">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>