Henk van der Meer
2015-Jan-26 12:26 UTC
Windows service tincd behaves different from command line tincd
Hello, I have 4 VM's running in Microsoft Azure. They all should have similar configurations except from their tinc ip addresses of course. They run tinc 1.0.24. I have a 5th machine, my development machine. I am able to ping all 4 VM's from my computer when I start tinc from the commandline (tincd -n innomeer -D -d 2). 3 of the computers also work ok when running tinc as a service (tincd -n innomeer). The 4th only works ok from the command line, but doesn't allow me to ping it when it is running as a service. As far as I can tell from the log information my machine and the VM running tinc as a service do connect, but ping just won't work. I can't tell from the log file what is wrong. Can somebody tell me where I could look to see what is wrong? Thank you, Henk van der Meer -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150126/6dad877f/attachment.html>
Cobin Bluth
2015-Jan-26 14:11 UTC
Windows service tincd behaves different from command line tincd
Providing logs will greatly increase your chances of people helping you. Do 'tincd -n VPNname -D -d2' or -d3 or -d4 until you see error messages, do this on both sides. My common mistake is forgetting to copy the public cert to the other side. -Cobin On Jan 26, 2015 5:53 AM, "Henk van der Meer" <hvdmeer at timeservice.nl> wrote:> Hello, > > > > I have 4 VM?s running in Microsoft Azure. They all should have similar > configurations except from their tinc ip addresses of course. > > They run tinc 1.0.24. I have a 5th machine, my development machine. > > > > I am able to ping all 4 VM?s from my computer when I start tinc from the > commandline (tincd ?n innomeer ?D ?d 2). > > 3 of the computers also work ok when running tinc as a service (tincd ?n > innomeer). > > The 4th only works ok from the command line, but doesn?t allow me to ping > it when it is running as a service. > > > > As far as I can tell from the log information my machine and the VM > running tinc as a service do connect, but ping just won?t work. I can?t > tell from the log file what is wrong. > > > > Can somebody tell me where I could look to see what is wrong? > > > > Thank you, > > > > Henk van der Meer > > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150126/c39f0ac0/attachment.html>
Henk van der Meer
2015-Jan-26 14:29 UTC
Windows service tincd behaves different from command line tincd
Hello Cobin, Thank you for replying. I was about writing you a reply to ask you how I could have forgotten to copy the public cert if it does work from the command line. But the you started me thinking ? The service is running with different rights then the command line is. So I changed the access rights to the tinc folder so that everybody can read it. And now it works. This solution will do for my situation. Thank you again, Henk Van: tinc [mailto:tinc-bounces at tinc-vpn.org] Namens Cobin Bluth Verzonden: maandag 26 januari 2015 15:12 Aan: tinc at tinc-vpn.org Onderwerp: Re: Windows service tincd behaves different from command line tincd Providing logs will greatly increase your chances of people helping you. Do 'tincd -n VPNname -D -d2' or -d3 or -d4 until you see error messages, do this on both sides. My common mistake is forgetting to copy the public cert to the other side. -Cobin On Jan 26, 2015 5:53 AM, "Henk van der Meer" <hvdmeer at timeservice.nl<mailto:hvdmeer at timeservice.nl>> wrote: Hello, I have 4 VM?s running in Microsoft Azure. They all should have similar configurations except from their tinc ip addresses of course. They run tinc 1.0.24. I have a 5th machine, my development machine. I am able to ping all 4 VM?s from my computer when I start tinc from the commandline (tincd ?n innomeer ?D ?d 2). 3 of the computers also work ok when running tinc as a service (tincd ?n innomeer). The 4th only works ok from the command line, but doesn?t allow me to ping it when it is running as a service. As far as I can tell from the log information my machine and the VM running tinc as a service do connect, but ping just won?t work. I can?t tell from the log file what is wrong. Can somebody tell me where I could look to see what is wrong? Thank you, Henk van der Meer _______________________________________________ tinc mailing list tinc at tinc-vpn.org<mailto:tinc at tinc-vpn.org> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150126/7ebad3a2/attachment-0001.html>