Tinc connects but no bridge

Kevin Brown blargity at gmail.com
Fri Jan 20 03:36:08 CET 2006


I'm really trying to do a client to server connection more than an
ethernet bridge, but I couldn't figure out from the docs where that
comes in.

Client is Kubuntu Breezy, and server is Debian Sarge.
Tinc was installed with apt-get on both systems.  Version on server is
1.0.3, on client is 1.0.4.

I've spent the entire day toiling over getting this set up.  I had
ipchains rules, etc, blocking the way, but now we're finally talking
and authing.

Server is called dlivpnserver
Client is called stellablue

On the server, I've created an alias called eth0:1 with IP 10.10.10.10
that points over to eth0 (really just for the connection, again, there
are not two ethernet cards).  On the client, we're behind two NAT
firewalls.

Tinc now connects:
Trying to connect to dlivpnserver (82.103.129.142 port 655)
Connected to dlivpnserver (82.103.129.142 port 655)
Sending ID to dlivpnserver (82.103.129.142 port 655): 0 stellablue 17
Sending 16 bytes of metadata to dlivpnserver (82.103.129.142 port 655)
Got ID from dlivpnserver (82.103.129.142 port 655): 0 dlivpnserver 17

etc...

And then they start Pinging each other.  Yet I cannot ping 10.10.10.10
from the client, nor can I ping 192.168.15.150 from the server.  I
have checked iptables rules and the configs as much as I can, but I'm
lost at this point as to why they won't talk.

Here are the config files:
root at stellablue:/etc/tinc/vpn/hosts# cat dlivpnserver
Subnet = 10.10.10.0/24
Address = 82.103.129.142
TCPOnly = yes
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----

root at stellablue:/etc/tinc/vpn/hosts# cat stellablue
Subnet = 192.168.15.0/24
Address = 24.18.219.14
TCPOnly = yes
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----

root at stellablue:/etc/tinc/vpn/hosts# cat ../tinc.conf
AddressFamily=ipv4
ConnectTo=dlivpnserver
Device=/dev/net/tun
Mode=switch
Name=stellablue
PrivateKeyFile=/etc/tinc/rsa_key.priv

dlivpnserver:/etc/tinc/vpn/hosts# cat ../tinc.conf
Device = /dev/net/tun
Name = dlivpnserver
Mode = switch
PrivateKeyFile = /etc/tinc/vpn/rsa_key.priv
AddressFamily = ipv4


More information about the tinc mailing list