Thanks for the quick reply, Guus. Well the debug helped a little bit. So did re-reading the manual again. I think I got further ahead, but unfortunately I still cannot quite get to complete the connection between the two nodes.
It looks like the two nodes are communicating - they seem to be able to exchange RSA keys & MetaKeys, but for some reason, they start trying to exchange data on random ports (1361, 1362, 1436, etc.) before the connection has been completely established and I'm guessing that they might be getting blocked by Windows Firewall (I did add tinc.exe to the program exception list, along with port 655 on TCP and on UDP in the Firewall). There are no clues in the manual as to why it changes port numbers, but I guess that it's a security issue. I still cannot ping the other side on the VPN (192.168.19.0/24), but I guess that is because the connection was not established. (Ping works fine on node's side of the VPN and to both sides on the 192.168.17.0/24 subnet) I am also getting error messages "Cannot route packet from _xxx_ (MYSELF): unknown IPv4 destination address 192.168.3.255" The manual mentions that I should ignore broadcast messages (ending in .255), so I'm not sure if this message is relevant. Just in case you want to spend the time looking at them, I have attached text files of the debug information from each node. At the end, I have included the configuration files. (You will notice that I changed the local subnet to 196.168.17.0/24 and the VPN subnet to 192.168.19.0/24 from the ones mentioned in my previous e-mail -- Couldn't hurt to try.) Thanks again for the help. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Guus Sliepen Sent: Sunday, July 18, 2010 03:38 To: [email protected] Subject: Re: Windows 7 support? Should I be able to PING over the VPN? On Sun, Jul 18, 2010 at 12:52:59AM -0400, Alan S. Lawee wrote: > 1. I see from the archives that Vista support requires downloading an > updated TAP driver from OpenVPN.net. I have just downloaded tinc > 1.0.13 and was not able to get the TAP driver to work on my Windows 7 > computer. Should I assume that 1.0.13 doesn't have the most current > TAP driver and I should use the one I downloaded from OpenVPN ? There > seems to be other issues with Windows 7 - the RSA keys are not stored > in the same place by default as they are for Windows XP, so there may be other configuration changes to make. 1.0.13 should contain the exact same TAP driver as with recent versions of OpenVPN. However, do try out the OpenVPN installer and see if that works. You need administrator rights to install the TAP driver, try right-clicking on addtap.bat and select "run as administrator". There is also a 32-bit and 64-bit version, choose the one matching your Windows isntallation. > 2. I've installed tinc on two Windows XP systems that are on the same > LAN & subnet (192.168.1.0/24), but I configured them both to use a > different subnet (192.168.3.0/24). After adding routes at each end, I > am able to ping the local interface on each machine, but not the > remote interface. Does this mean that something is not installed or > configured properly, or is this normal behavior? I think you have misconfigured something. You can start tincd.exe with the extra options "-d5 -D", this will start tincd in the foreground and will show you what it is doing. Try to ping then, and see if it shows anything related to the ping message. -- Met vriendelijke groet / with kind regards, Guus Sliepen <[email protected]>
signature.asc
Description: PGP signature
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
Connection from 192.168.17.11 port 1582
Sending ID to <unknown> (192.168.17.11 port 1582): 0 Office 17
Sending 12 bytes of metadata to <unknown> (192.168.17.11 port 1582)
Trying to connect to Home (192.168.17.11 port 655)
Flushing 12 bytes to <unknown> (192.168.17.11 port 1582)
Got ID from <unknown> (192.168.17.11 port 1582): 0 Home 17
Sending METAKEY to Home (192.168.17.11 port 1582): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Home (192.168.17.11 port 1582)
Got METAKEY from Home (192.168.17.11 port 1582): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Home (192.168.17.11 port 1582): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Home (192.168.17.11 port 1582)
Flushing 1040 bytes to Home (192.168.17.11 port 1582)
Connected to Home (192.168.17.11 port 655)
Sending ID to Home (192.168.17.11 port 655): 0 Office 17
Sending 12 bytes of metadata to Home (192.168.17.11 port 655)
Got ID from Home (192.168.17.11 port 655): 0 Home 17
Sending METAKEY to Home (192.168.17.11 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Home (192.168.17.11 port 655)
Got CHALLENGE from Home (192.168.17.11 port 1582): 2 ...<DATA REMOVED>...
Sending CHAL_REPLY to Home (192.168.17.11 port 1582): 3 ...<DATA REMOVED>...
Sending 43 bytes of metadata to Home (192.168.17.11 port 1582)
Flushing 537 bytes to Home (192.168.17.11 port 655)
Flushing 43 bytes to Home (192.168.17.11 port 1582)
Got METAKEY from Home (192.168.17.11 port 655): 1 94 64 0 0 ...<DATA REMOVED>...
Sending CHALLENGE to Home (192.168.17.11 port 655): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Home (192.168.17.11 port 655)
Got CHALLENGE from Home (192.168.17.11 port 655): 2 ...<DATA REMOVED>...
Sending CHAL_REPLY to Home (192.168.17.11 port 655): 3 ...<DATA REMOVED>...
Sending 43 bytes of metadata to Home (192.168.17.11 port 655)
Flushing 558 bytes to Home (192.168.17.11 port 655)
Connection closed by Home (192.168.17.11 port 655)
Closing connection with Home (192.168.17.11 port 655)
Trying to re-establish outgoing connection in 15 seconds
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 257 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 257 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 257 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 257 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Timeout from Home (192.168.17.11 port 1582) during authentication
Closing connection with Home (192.168.17.11 port 1582)
Purging unreachable nodes
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 245 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 245 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 275 bytes to Windows tap device
Cannot route packet from Office (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 275 bytes to Windows tap device
Trying to connect to Home (192.168.17.11 port 655)
Connected to Home (192.168.17.11 port 655)
Sending ID to Home (192.168.17.11 port 655): 0 Office 17
Sending 12 bytes of metadata to Home (192.168.17.11 port 655)
Got ID from Home (192.168.17.11 port 655): 0 Home 17
Sending METAKEY to Home (192.168.17.11 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Home (192.168.17.11 port 655)
Flushing 537 bytes to Home (192.168.17.11 port 655)
Got METAKEY from Home (192.168.17.11 port 655): 1 94 64 0 0 ...<DATA REMOVED>...
Sending CHALLENGE to Home (192.168.17.11 port 655): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Home (192.168.17.11 port 655)
Got CHALLENGE from Home (192.168.17.11 port 655): 2 ...<DATA REMOVED>...
Sending CHAL_REPLY to Home (192.168.17.11 port 655): 3 ...<DATA REMOVED>...
Sending 43 bytes of metadata to Home (192.168.17.11 port 655)
Flushing 558 bytes to Home (192.168.17.11 port 655)
Connection closed by Home (192.168.17.11 port 655)
Closing connection with Home (192.168.17.11 port 655)
Trying to re-establish outgoing connection in 20 seconds
Purging unreachable nodes
^C
C:\PROGRA~1\tinc>type homevpn\tinc.conf
Name = Office
ConnectTo = Home
Interface = HomeVPN
PrivateKeyFile = C:\PROGRA~1\tinc\HomeVPN\OFFICE.PRV
C:\PROGRA~1\tinc>type homevpn\hosts\office
Subnet = 192.168.19.11/32
Address = 192.168.17.14
PublicKeyFile = C:\PROGRA~1\tinc\HomeVPN\hosts\OFFICE.PUB
C:\PROGRA~1\tinc>type homevpn\hosts\home
Subnet = 192.168.19.12/32
Address = 192.168.17.11
PublicKeyFile = C:\PROGRA~1\tinc\HomeVPN\hosts\OFFICE.PUB
C:\PROGRA~1\tinc>dir homevpn
Volume in drive C has no label.
Volume Serial Number is C821-6825
Directory of C:\PROGRA~1\tinc\homevpn
07/18/2010 06:22 PM <DIR> .
07/18/2010 06:22 PM <DIR> ..
07/18/2010 06:24 PM <DIR> hosts
07/17/2010 11:12 PM 1,675 OFFICE.PRV
07/18/2010 06:24 PM 128 tinc.conf
2 File(s) 1,803 bytes
3 Dir(s)
C:\PROGRA~1\tinc>dir homevpn\hosts
Volume in drive C has no label.
Volume Serial Number is C821-6825
Directory of C:\PROGRA~1\tinc\homevpn\hosts
07/18/2010 06:24 PM <DIR> .
07/18/2010 06:24 PM <DIR> ..
07/18/2010 06:24 PM 124 Home
07/18/2010 12:06 AM 426 HOME.PUB ,,,<RSA_KEY copied from the
'Home' node>...
07/18/2010 06:24 PM 124 Office
07/17/2010 11:12 PM 426 OFFICE.PUB ,,,<RSA_KEY generated on
this node>...
4 File(s) 1,100 bytes
2 Dir(s)
C:\PROGRA~1\tinc>Connection from 192.168.17.14 port 1448
Sending ID to <unknown> (192.168.17.14 port 1448): 0 Home 17
Sending 10 bytes of metadata to <unknown> (192.168.17.14 port 1448)
Trying to connect to Office (192.168.17.14 port 655)
Flushing 10 bytes to <unknown> (192.168.17.14 port 1448)
Got ID from <unknown> (192.168.17.14 port 1448): 0 Office 17
Sending METAKEY to Office (192.168.17.14 port 1448): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Office (192.168.17.14 port 1448)
Got METAKEY from Office (192.168.17.14 port 1448): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Office (192.168.17.14 port 1448): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Office (192.168.17.14 port 1448)
Flushing 1040 bytes to Office (192.168.17.14 port 1448)
Connected to Office (192.168.17.14 port 655)
Sending ID to Office (192.168.17.14 port 655): 0 Home 17
Sending 10 bytes of metadata to Office (192.168.17.14 port 655)
Got ID from Office (192.168.17.14 port 655): 0 Office 17
Sending METAKEY to Office (192.168.17.14 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Office (192.168.17.14 port 655)
Flushing 535 bytes to Office (192.168.17.14 port 655)
Bogus data received from Office (192.168.17.14 port 1448)
Closing connection with Office (192.168.17.14 port 1448)
Got METAKEY from Office (192.168.17.14 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Office (192.168.17.14 port 655): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Office (192.168.17.14 port 655)
Bogus data received from Office (192.168.17.14 port 655)
Closing connection with Office (192.168.17.14 port 655)
Trying to re-establish outgoing connection in 10 seconds
Purging unreachable nodes
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Broadcasting packet of 175 bytes from Home (MYSELF)
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 287 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 259 bytes to Windows tap device
Trying to connect to Office (192.168.17.14 port 655)
Connected to Office (192.168.17.14 port 655)
Sending ID to Office (192.168.17.14 port 655): 0 Home 17
Sending 10 bytes of metadata to Office (192.168.17.14 port 655)
Got ID from Office (192.168.17.14 port 655): 0 Office 17
Sending METAKEY to Office (192.168.17.14 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Office (192.168.17.14 port 655)
Flushing 535 bytes to Office (192.168.17.14 port 655)
Connection from 192.168.17.14 port 1449
Sending ID to <unknown> (192.168.17.14 port 1449): 0 Home 17
Sending 10 bytes of metadata to <unknown> (192.168.17.14 port 1449)
Flushing 10 bytes to <unknown> (192.168.17.14 port 1449)
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 259 bytes to Windows tap device
Got METAKEY from Office (192.168.17.14 port 655): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Office (192.168.17.14 port 655): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Office (192.168.17.14 port 655)
Flushing 515 bytes to Office (192.168.17.14 port 655)
Got ID from <unknown> (192.168.17.14 port 1449): 0 Office 17
Sending METAKEY to Office (192.168.17.14 port 1449): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Office (192.168.17.14 port 1449)
Got METAKEY from Office (192.168.17.14 port 1449): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Office (192.168.17.14 port 1449): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Office (192.168.17.14 port 1449)
Flushing 1040 bytes to Office (192.168.17.14 port 1449)
Bogus data received from Office (192.168.17.14 port 1449)
Closing connection with Office (192.168.17.14 port 1449)
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 259 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 259 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Connection closed by Office (192.168.17.14 port 655)
Closing connection with Office (192.168.17.14 port 655)
Trying to re-establish outgoing connection in 15 seconds
Purging unreachable nodes
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 138 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 247 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Writing packet of 287 bytes to Windows tap device
Cannot route packet from Home (MYSELF): unknown IPv4 destination address
192.168.19.255
Connection from 192.168.17.14 port 1450
Sending ID to <unknown> (192.168.17.14 port 1450): 0 Home 17
Sending 10 bytes of metadata to <unknown> (192.168.17.14 port 1450)
Flushing 10 bytes to <unknown> (192.168.17.14 port 1450)
Got ID from <unknown> (192.168.17.14 port 1450): 0 Office 17
Sending METAKEY to Office (192.168.17.14 port 1450): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending 525 bytes of metadata to Office (192.168.17.14 port 1450)
Got METAKEY from Office (192.168.17.14 port 1450): 1 94 64 0 0 ...<DATA
REMOVED>...
Sending CHALLENGE to Office (192.168.17.14 port 1450): 2 ...<DATA REMOVED>...
Sending 515 bytes of metadata to Office (192.168.17.14 port 1450)
Flushing 1040 bytes to Office (192.168.17.14 port 1450)
Bogus data received from Office (192.168.17.14 port 1450)
Closing connection with Office (192.168.17.14 port 1450)
Purging unreachable nodes
^C
C:\PROGRA~1\tinc>type homevpn\tinc.conf
Name = Home
ConnectTo = Office
Interface = HomeVPN
PrivateKeyFile = C:\PROGRA~1\tinc\HomeVPN\HOME.PRV
C:\PROGRA~1\tinc>type homevpn\hosts\office
Subnet = 192.168.19.11/32
Address = 192.168.17.14
PublicKeyFile = C:\PROGRA~1\tinc\HomeVPN\hosts\OFFICE.PUB
C:\PROGRA~1\tinc>type homevpn\hosts\home
Subnet = 192.168.19.12/32
Address = 192.168.17.11
PublicKeyFile = C:\PROGRA~1\tinc\HomeVPN\hosts\HOME.PUB
C:\PROGRA~1\tinc>dir homevpn
Volume in drive C is SYSTEM
Volume Serial Number is 0C07-A8A0
Directory of C:\PROGRA~1\tinc\homevpn
2010-07-18 18:20 <DIR> .
2010-07-18 18:20 <DIR> ..
2010-07-18 00:06 1,675 HOME.PRV
2010-07-18 18:26 <DIR> hosts
2010-07-18 18:20 126 tinc.conf
2 File(s) 1,801 bytes
3 Dir(s)
C:\PROGRA~1\tinc>dir homevpn\hosts
Volume in drive C is SYSTEM
Volume Serial Number is 0C07-A8A0
Directory of C:\PROGRA~1\tinc\homevpn\hosts
2010-07-18 18:26 <DIR> .
2010-07-18 18:26 <DIR> ..
2010-07-18 18:20 123 Home
2010-07-18 00:06 426 HOME.PUB ,,,<RSA_KEY generated on this
node>...
2010-07-18 18:20 113 Office
2010-07-17 23:12 426 OFFICE.PUB ,,,<RSA_KEY copied from the
'Office' node>...
4 File(s) 1,088 bytes
2 Dir(s)
C:\PROGRA~1\tinc>_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
