<div dir="ltr"><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px">Tinc team:</div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px"><span style="white-space:pre-wrap">    </span>I'm creating a vpn for my work laptop and vps and got trapped, here are my config files:</div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px">on laptop:</div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px">*tinc.conf</div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px"><span style="font-family:monospace">Name = envy13 <br>Device = /dev/net/tun <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">ConnectTo = main</span></div></div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px"><span style="font-family:monospace">*hosts/main</span></div><div style="margin:0px;padding:0px;zoom:1;color:rgb(51,51,51);font-family:Verdana,宋体,Helvetica,sans-serif;font-size:14px"><span style="font-family:monospace">Address = <my vps ext ip address> <br>Port = 655 <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">Subnet = <a href="http://10.0.0.1/32">10.0.0.1/32</a></span></div><div style="margin:0px;padding:0px;zoom:1"><br></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*hosts/envy13</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">Port = 655 <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">Subnet = <a href="http://10.0.0.2/32">10.0.0.2/32</a></span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*tinc-up</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">#!/bin/sh <br>ip link set myvpn up <br>ip addr add <a href="http://10.0.0.2/32">10.0.0.2/32</a> dev myvpn <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">ip route add <a href="http://10.0.0.0/24">10.0.0.0/24</a> via 10.0.0.2</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*tinc-down</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">#!/bin/sh <br>ip route del <a href="http://10.0.0.0/24">10.0.0.0/24</a> via 10.0.0.2 <br>ip addr del <a href="http://10.0.0.2/32">10.0.0.2/32</a> dev myvpn <br>ip link set myvpn down<br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">on vps:</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*tinc.conf</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">Name = main <br>Device = /dev/net/tun<br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*hosts/main, *hosts/envy13 same as on laptop</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*tinc-up</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">#!/bin/sh <br>ip link set myvpn up <br>ip addr add <a href="http://10.0.0.1/32">10.0.0.1/32</a> dev myvpn <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">ip route add <a href="http://10.0.0.0/24">10.0.0.0/24</a> via 10.0.0.1</span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">*tinc-down</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">#!/bin/sh <br>ip route del <a href="http://10.0.0.0/24">10.0.0.0/24</a> via 10.0.0.1 <br>ip addr del <a href="http://10.0.0.1/32">10.0.0.1/32</a> dev myvpn <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">ip link set myvpn down</span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><font face="Arial">when I ping each other:</font></div><div style="margin:0px;padding:0px;zoom:1"><font face="Arial">on vps ping laptop:</font></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data. <br>^C <br>--- 10.0.0.2 ping statistics --- <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">5 packets transmitted, 0 received, 100% packet loss, time 4031ms</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:Arial">on laptop ping vps:</span></div></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data. <br>From 10.0.0.1 icmp_seq=1 Destination Net Unknown <br>From 10.0.0.1 icmp_seq=2 Destination Net Unknown <br>From 10.0.0.1 icmp_seq=3 Destination Net Unknown <br>From 10.0.0.1 icmp_seq=4 Destination Net Unknown <br>^C <br>--- 10.0.0.1 ping statistics --- <br></span><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 52ms</span></div></div></div><div style="margin:0px;padding:0px;zoom:1"><br></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:Arial">I have ufw allowed 655.</span><span style="font-family:Arial"> </span><span style="font-family:Arial">What did i miss?</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:Arial"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><font face="Arial">-------------------------------------</font></div><div style="margin:0px;padding:0px;zoom:1"><font face="Arial"><br></font></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:Arial">On both nodes I installed 1.1pre17 (laptop from aur package, vps using make install), and when I use commands like "tinc stop","tinc dump nodes", it says  "</span><span style="font-family:monospace">Could not open pid file /usr/local/var/run/tinc.pid: No such file or directory". </span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace">Does this matter? or even the previous problem is somehow due to this?</span></div><div style="margin:0px;padding:0px;zoom:1"><span style="font-family:monospace"><br></span></div><div style="margin:0px;padding:0px;zoom:1"><font face="monospace">I'd appreciate your help.</font></div></div></div>