<div><br></div>Guus,<div><br></div><div> Sorry, I mis-spelled.</div><div><br></div><div> > can you tell me how to figure out what kind of packets from log files? </div><meta charset="utf-8"><div> I tried tcpdump vpn1 icmp before to test ping between the two instances.</div>
<div> </div><div> I can confirm vpn1(server side) can not reply to vpn1(client side) that time.</div><div> I restarted them and fixed...</div><div><br></div><div>Hao</div><div><br><div class="gmail_quote">2011/4/15 孫 顥 <span dir="ltr"><<a href="mailto:xsunsmile@gmail.com">xsunsmile@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>Guus,</div><div><br></div><div> I restarted my two instances in ec2 and found all working now.</div>
<div> It is weird, I still do not know which part goes wrong, but it is working for me now.</div><div>
<br></div><div> BTW, can you tell me how to figure out what can of packets from log files?</div><div><br></div><div>Apr 15 05:55:39 jp-cloud-aws-vpn1 tinc.vpn1[1006]: Writing packet of 786 bytes to Linux tun/tap device (tun mode)</div>

<div>Apr 15 05:55:39 jp-cloud-aws-vpn1 tinc.vpn1[1006]: Read packet of 66 bytes from Linux tun/tap device (tun mode)</div><div>Apr 15 05:55:39 jp-cloud-aws-vpn1 tinc.vpn1[1006]: Sending packet of 66 bytes to vpn2 (175.41.249.177 port 655)</div>

<div><br></div><div> if you have some document about log file, please let me know.</div><div><br></div><div> Thank you very much for your help.</div><div> </div><br><div class="gmail_quote"><div><div></div><div class="h5">
2011/4/14 Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org" target="_blank">guus@tinc-vpn.org</a>></span><br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div>On Wed, Apr 13, 2011 at 05:44:39PM +0900, 孫 �[ wrote:<br>
<br>
>  my ifconfig of tun device outputs following:<br>
>  ifconfig vpn1<br>
> vpn1      Link encap:UNSPEC  HWaddr<br>
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00<br>
>           inet addr:10.0.101.10  P-t-P:10.0.101.10  Mask:255.255.255.0<br>
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1<br>
<br>
</div>Ok, it looks like the tinc-up script worked fine. Can you show me the output of<br>
"route -n" on both VPN servers?<br>
<br>
Are you using iptables or other forms of firewalling? Also, you can start tinc<br>
with the extra options "-d5 -D", which will cause it to run in the foreground<br>
and log almost everything that is going on. Try to ping while you are running<br>
tinc like that, and see what it logs.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>Met vriendelijke groet / with kind regards,<br>
     Guus Sliepen <<a href="mailto:guus@tinc-vpn.org" target="_blank">guus@tinc-vpn.org</a>><br>
</div></div><br></div></div><div class="im">_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org" target="_blank">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></div></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>----<br>孫より<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>----<br>孫より<br>
</div>