Tinc1.0pre2 problem
Igor Belokopytov
igor.belokopytov at computalog.com
Fri Jul 27 19:39:38 CEST 2001
Hello,
I want setup 2 VPN connections - 1 server and 2 clients
"server" eth0 = 209.182.203.229 eth1 = 10.38.9.1
#cat /etc/tinc/vpn1/tinc.conf
TapDevice = /dev/tap4
MyVirtualIP = 10.38.9.1/0
AllowConnect = yes
ListenPort = 8195
ConnectPort = 8195
VPNMASK = 255.255.255.255
#ls /etc/tinc/vpn1/passphrases/
local 10.10.1.8 10.10.2.8
-----------------------------------------
"client1" eth0 = 161.84.178.116
#cat /etc/tinc/vpn/tinc.conf
TapDevice = /dev/tap0
ConnectTo = 209.182.203.229
MyVirtualIP = 10.10.1.8/0
AllowConnect = no
ListenPort = 8195
ConnectPort = 8195
VPNMASK = 255.255.255.255
#ls /etc/tinc/vpn/passphrases/
local 10.38.9.1
------------------------------------
"client2" eth0 = 10.38.9.221
#cat /etc/tinc/vpn1/tinc.conf
TapDevice = /dev/tap0
ConnectTo = 10.38.9.1
MyVirtualIP = 10.10.2.8/0
AllowConnect = no
ListenPort = 8195
ConnectPort = 8195
VPNMASK = 255.255.255.255
#ls /etc/tinc/vpn1/passphrases/
local 10.38.9.1
One VPN between "server" and "client1" works good. If I try to run tincd on
"client2" I get such messages:
Jul 27 10:04:30 client2 tinc.vpn1[259]: tincd 1.0pre2 (Nov 9 2000 17:04:41)
starting, debug level 5.
Jul 27 10:04:30 client2 tinc.vpn1[259]: Generating 128 bits keys.
Jul 27 10:04:30 client2 tinc.vpn1[259]: Ready: listening on port 8195.
Jul 27 10:04:30 client2 tinc.vpn1[259]: Connected to 10.38.9.1:8195
Jul 27 10:04:30 server tinc.vpn1[24509]: Connection from 10.38.9.221:1030
Jul 27 10:04:30 client2 tinc.vpn1[259]: Passphrase OK
Jul 27 10:04:30 server tinc.vpn1[24509]: Connection with 10.38.9.221 activated.
Jul 27 10:04:30 client2 tinc.vpn1[259]: Closing connection with 10.38.9.1.
Jul 27 10:04:30 client2 tinc.vpn1[259]: Try to re-establish outgoing connection in
5 seconds.
Jul 27 10:04:30 server tinc.vpn1[24509]: Metadata socket read error: Invalid
argument
Jul 27 10:04:35 server tinc.vpn1[24509]: Connection from 161.84.178.116:1816
Jul 27 10:04:35 server tinc.vpn1[24509]: Connection from 10.38.9.221:1031
Jul 27 10:04:35 client2 tinc.vpn1[259]: Connected to 10.38.9.1:8195
Jul 27 10:04:35 client2 tinc.vpn1[259]: Passphrase OK
Jul 27 10:04:35 server tinc.vpn1[24509]: Connection with 10.38.9.221 activated.
Jul 27 10:04:35 client2 tinc.vpn1[259]: Connection with 10.38.9.1 activated.
Jul 27 10:04:35 server tinc.vpn1[24509]: Connection with 161.84.178.116 activated.
Jul 27 10:04:35 client2 tinc.vpn1[259]: 10.38.9.1 wants to quit
Jul 27 10:04:35 client2 tinc.vpn1[259]: Closing connection with 10.38.9.1.
Jul 27 10:04:35 client2 tinc.vpn1[259]: Try to re-establish outgoing connection in
5 seconds.
Jul 27 10:04:36 server tinc.vpn1[24509]: Metadata socket read error: Invalid
argument
Jul 27 10:04:40 client2 tinc.vpn1[259]: Connected to 10.38.9.1:8195
Jul 27 10:04:40 server tinc.vpn1[24509]: Connection from 10.38.9.221:1032
Jul 27 10:04:41 server tinc.vpn1[24509]: Connection from 161.84.178.116:1817
Jul 27 10:04:41 client2 tinc.vpn1[259]: Passphrase OK
Jul 27 10:04:41 server tinc.vpn1[24509]: Connection with 10.38.9.221 activated.
Jul 27 10:04:41 client2 tinc.vpn1[259]: Connection with 10.38.9.1 activated.
Jul 27 10:04:41 server tinc.vpn1[24509]: Connection with 161.84.178.116 activated.
Jul 27 10:04:41 client2 tinc.vpn1[259]: 10.38.9.1 wants to quit
Jul 27 10:04:41 client2 tinc.vpn1[259]: Closing connection with 10.38.9.1.
Jul 27 10:04:41 client2 tinc.vpn1[259]: Try to re-establish outgoing connection in
5 seconds.
Jul 27 10:04:41 server tinc.vpn1[24509]: Metadata socket read error: Invalid
argument
Jul 27 10:04:42 client2 tinc.vpn1[259]: Got TERM signal
Jul 27 10:04:42 client2 tinc.vpn1[259]: Terminating.
Jul 27 10:04:42 client2 tinc.vpn1[259]: Total bytes written: tap 0, socket 0;
bytes read: tap 0, socket 0.
Jul 27 10:04:46 server tinc.vpn1[24509]: Connection from 161.84.178.116:1818
Jul 27 10:04:47 server tinc.vpn1[24509]: Connection with 161.84.178.116 activated.
The same situation if I setup VPN between "server" and "client2" and than run
tincd on "client1"
Sincerely,
Igor Belokopytov
-
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
More information about the Tinc
mailing list