Config error - please help
Kostadin Galabov
kostura at visia.com
Mon May 7 17:56:09 CEST 2001
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/
More information about the Tinc
mailing list