I installed Tinc and started on two mashines. both connect and say everything is OK. But then when I try to ping through the VPN I get the following errors in syslog: on server: rtr-us tinc.vpn_net[911]: Metadata socket read error for BG_VPN (x.x.x.x - inet ip of client): No such process and on client ns tinc.vpn_net[301]: Incoming data socket error: Connection refused what does it mean as on my firewall port forwarding is set as neeed on udp and tcp port 655. And even I see the icmp traffic on the firewall between two hosts. This are the starting scrips on both mashines: Client (Kernel 2.2.17) #! /bin/sh # Starting VPN echo -n "Starting VPN," tincd -n vpn_net -ddd echo -n " Configuring VPN Interface" sleep 1 ifconfig tap0 hw ether fe:fd:00:00:00:00 ifconfig tap0 192.168.0.5 netmask 255.255.0.0 echo " [VPN Started]" and server: #! /bin/sh # Starting VPN echo -n "Starting VPN," tincd -n vpn_net -ddd echo -n " Configuring VPN Interface" sleep 1 ifconfig vpn_net hw ether fe:fd:00:00:00:00 ifconfig vpn_net 192.168.1.1 netmask 255.255.0.0 echo " [VPN Started]" Here are the config files: (/etc/vpn_net/tinc.conf) Client: Name = BG_VPN ConnectTo = US_VPN PrivateKey = ..... Server: Name = US_VPN PrivateKey = ... And hosts files: BG_VPN: Subnet = 192.168.0.0/16 Address = x.x.x.x (gateway address) PublicKey = ..... US_VPN: Subnet = 192.168.0.0/16 Address = x.x.x.x (gateway address) PublicKey Whats wrong with this, can you tell me ? - 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/
On Mon, May 07, 2001 at 06:56:09PM +0300, Kostadin Galabov wrote:> This are the starting scrips on both mashines: > Client (Kernel 2.2.17) > #! /bin/sh > > # Starting VPN > echo -n "Starting VPN," > tincd -n vpn_net -ddd > echo -n " Configuring VPN Interface" > sleep 1 > ifconfig tap0 hw ether fe:fd:00:00:00:00 > ifconfig tap0 192.168.0.5 netmask 255.255.0.0 > echo " [VPN Started]"In tinc 1.0pre3 you can put those ifconfig commands in a script with filename "/etc/tinc/vpn_net/tinc-up". They will be executed whenever tinc has started. Similarly there can be a "tinc-down" script.> And hosts files: > BG_VPN: > Subnet = 192.168.0.0/16This should be: Subnet = 192.168.0.0/24> US_VPN: > Subnet = 192.168.0.0/16This one should be: Subnet = 192.168.1.0/24 Apart from that everything seems correct. Does this help? ------------------------------------------- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> ------------------------------------------- See also: http://tinc.nl.linux.org/ http://www.kernelbench.org/ ------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20010507/7a440f63/attachment.pgp