Connection problem
Magnus Ullberg
UllbergM at abcbank.com
Sun Nov 4 06:23:53 CET 2001
I've got a test lab set up and im having problems connecting.
The first problem is that it takes it a couple of tries before it actually
connects the two machines.
It complains about bogus data and after trying for a minute or so it
connects.
kill -USR1 shows that they are connected
kill -USR2 only shows the local subnet, not the remote
I've tried these versions without any luck:
cvs checkout -r CABAL -D "1 Jun 2001 10:03:39 +0200" tinc
cvs checkout -r CABAL tinc
pre4
Host LocationB - LocationA
Internal 192.168.1.1 - 192.168.0.1
External 10.0.1.1 - 10.0.0.1
Here are my configuration files on LocationB
tinc-up
~~~~~~~~~~~~
#!/bin/sh
ifconfig $NETNAME hw ether fe:fd:00:00:00:00
ifconfig $NETNAME 192.168.1.1 netmask 255.255.0.0
ifconfig $NETNAME -arp
~~~~~~~~~~~~
tinc.conf
~~~~~~~~~~~~
Name = LocationB
ConnectTo = LocationA
PrivateKey = /usr/local/etc/tinc/ourvpn/rsa_key.priv
TapDevice = /dev/tun
~~~~~~~~~~~~
rsa_key.priv
~~~~~~~~~~~~
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCiVD55i0HmftAPExWpnRbKMRiyXfRqQWNcN8IXa5Yzi76b9God
-SNIP-
I2nKxx2M4CpDhKHu2sNexfMiaNqR1Uc0uuiuPKpN0VA=
-----END RSA PRIVATE KEY-----
hosts/LocationA
~~~~~~~~~~~~
Subnet = 192.168.0.0/24
Address = 10.0.0.1
Port = 655
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKZaxEsNmMnbZzqn49QV4gOngKpD76yYAstqyZCT3rMn1NhViO4D1KI1
-SNIP-
bgg9PgR4/FKQQd272rEZ429kaexCa1Uu3VlBA89p4n9N2Txs42zbAgMA//8=
-----END RSA PUBLIC KEY-----
~~~~~~~~~~~~
hosts/LocationB
~~~~~~~~~~~~
Subnet = 192.168.1.0/24
Address = 10.0.1.1
Port = 655
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKJUPnmLQeZ+0A8TFamdFsoxGLJd9GpBY1w3whdrljOLvpv0ah2pCyHQ
-SNIP-
JEI8zS7mOhuRTuIJcxzOMDZBVYdvxcAqN4har/XZ5Nxe6+zoUwATAgMA//8=
-----END RSA PUBLIC KEY-----
~~~~~~~~~~~~
Here are my configuration files on LocationA
tinc-up
~~~~~~~~~~~~
#!/bin/sh
ifconfig $NETNAME hw ether fe:fd:00:00:00:00
ifconfig $NETNAME 192.168.0.1 netmask 255.255.0.0
ifconfig $NETNAME -arp
~~~~~~~~~~~~
tinc.conf
~~~~~~~~~~~~
Name = LocationB
PrivateKey = /usr/local/etc/tinc/ourvpn/rsa_key.priv
TapDevice = /dev/tun
~~~~~~~~~~~~
rsa_key.priv
~~~~~~~~~~~~
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCiVD55i0HmftAPExWpnRbKMRiyXfRqQWNcN8IXa5Yzi76b9God
-SNIP-
I2nKxx2M4CpDhKHu2sNexfMiaNqR1Uc0uuiuPKpN0VA=
-----END RSA PRIVATE KEY-----
hosts/LocationA
~~~~~~~~~~~~
Subnet = 192.168.0.0/24
Address = 10.0.0.1
Port = 655
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKZaxEsNmMnbZzqn49QV4gOngKpD76yYAstqyZCT3rMn1NhViO4D1KI1
-SNIP-
bgg9PgR4/FKQQd272rEZ429kaexCa1Uu3VlBA89p4n9N2Txs42zbAgMA//8=
-----END RSA PUBLIC KEY-----
~~~~~~~~~~~~
hosts/LocationB
~~~~~~~~~~~~
Subnet = 192.168.1.0/24
Address = 10.0.1.1
Port = 655
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKJUPnmLQeZ+0A8TFamdFsoxGLJd9GpBY1w3whdrljOLvpv0ah2pCyHQ
-SNIP-
JEI8zS7mOhuRTuIJcxzOMDZBVYdvxcAqN4har/XZ5Nxe6+zoUwATAgMA//8=
-----END RSA PUBLIC KEY-----
~~~~~~~~~~~~
Any ideas?
Thanks,
Magnus Ullberg
Network Coordinator
Area Bancshares Corporation
Networking Department
230 Frederica St.
Owensboro, KY 42301
about:%53%54%55%50%49%44
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