Johan Laagland
2000-Jul-08 11:37 UTC
Problems starting up tincd with startupscript 1.0pre2-1.i386.rpm
Hello, I'm trying to set up a vpn using tinc, so I installed tinc with the rpm version on my firewall as a listener. Setting up the tap device is no problem. The file /etc/tinc/tinc.conf looks like: TapDevice = /dev/tap0 MyVirtualIP = 192.168.2.1/24 Vpnmask = 255.255.255.0 When I start the script /etc/rc.d/init.d/tinc start it says something about missing /etc/tinc/nets.boot file. In your documentation there's nothing mentioned about this file. What's it for and how is it configured? with kind regards, Johan laagland. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://brouwer.uvt.nl/pipermail/tinc/attachments/20000708/1c2a4d3a/attachment.html
Guus Sliepen
2000-Jul-09 21:51 UTC
Problems starting up tincd with startupscript 1.0pre2-1.i386.rpm
On Sat, 8 Jul 2000, Johan Laagland wrote:> I'm trying to set up a vpn using tinc, so I installed tinc with the > rpm version on my firewall as a listener. Setting up the tap device is > no problem. The file /etc/tinc/tinc.conf looks like:> TapDevice = /dev/tap0 > MyVirtualIP = 192.168.2.1/24 > Vpnmask = 255.255.255.0Your Vpnmask is not right. The Vpnmask denotes the mask of the ENTIRE VPN network, but the mask you supply with MyVirtualIP should be that of your own subnet inside the entire VPN. So, if you have a tincd running at every host in your VPN, just change /24 to /32. On the other hand, if your VPN covers 192.168.x.x, change Vpnmask to 255.255.0.0.> When I start the script /etc/rc.d/init.d/tinc start it says something > about missing /etc/tinc/nets.boot file. In your documentation there's > nothing mentioned about this file. What's it for and how is it > configured?The tinc init script is able to manage multiple VPN networks at the same time. In nets.boot, the "names" of those active networks should be put. For example "test". Then, you should move tinc.conf and the passphrases/ directory to /etc/tinc/test/. I hope this helps! ------------------------------------------- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> ------------------------------------------- See also: http://tinc.nl.linux.org/ http://www.kernelbench.org/ ------------------------------------------- - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/