Hallo,
follgender aufbau:
a03 (Server). (Ubuntu Server 14.04)
eth0: IP: 10.0.0.103
Öffentliche IP: 123.123.123.123:655 (Nur Port 655 [und 22]).
/etc/tinc/p/tinc.conf:
Name = home Device = /dev/net/tun2
/etc/tinc/p/hosts/home:
Address = 123.123.123.123 Subnet = 10.0.0.0/24 -----BEGIN RSA PUBLIC KEY----- ... -----END RSA PUBLIC KEY-----
/etc/tinc/p/hosts/mobile:
Subnet = 10.0.0.2/32 -----BEGIN RSA PUBLIC KEY----- ... -----END RSA PUBLIC KEY-----
c01 (Client). (Ubuntu Unity 14.04) sollte aber später auch auf Xubuntu 14.04 funktioniren. Dürfte aber eigentlich von keiner relevanz sein.
Hängt in verschiedenen netzten (Arbeit, Öffentliches Wifi, usw.)
/etc/tinc/p/tinc.conf
Name = mobile Device = /dev/net/tun
/etc/tinc/p/home
Address = 123.123.123.123 Subnet = 10.0.0.0/24 -----BEGIN RSA PUBLIC KEY----- ... -----END RSA PUBLIC KEY-----
/etc/tinc/p/mobile
Subnet = 10.0.0.2/32 -----BEGIN RSA PUBLIC KEY----- ... -----END RSA PUBLIC KEY-----
tinc starten
tinc starten auf c01:
1 2 3 4 5 6 | root@c01:/etc/tinc/p# tincd -n p -D -d5 tincd 1.0.23 (Dec 5 2013 17:16:47) starting, debug level 5 /dev/net/tun is a Linux tun/tap device (tun mode) Listening on 0.0.0.0 port 655 Listening on :: port 655 Ready |
tinc starten auf a03:
1 2 3 4 5 6 | root@a03:/etc/tinc/p# tincd -n p -D -d5 tincd 1.0.23 (Dec 5 2013 17:16:47) starting, debug level 5 /dev/net/tun2 is a Linux tun/tap device (tun mode) Listening on 0.0.0.0 port 655 Listening on :: port 655 Ready |
Ein "ifconfig" zeigt auf beidem rechnern nur eth0 und lo an. Kein tun o.Ä.. Warum?
Und wie kann ich dafür sorgen dass ich eine verbindung von a03 zu c01 und von c01 zu a03 aufbauenkann wenn c01, a03 ohne tinc erreichen kann?
In anderen worten:
Immer dann wen c01 eine tinc verbindung nach a03 aufbauen konnte. Möchte ich das ein ssh 10.0.0.2 vom a03 aus möglich ist.
Info: 123.123.123.123 ist eine bsp. addresse.
Vielen dank fürs dürchlesen und hoffe auf anregugen zur lösung des obigen problems.
Ich bin auch auf der suche nach alterniver freier software.
Danke.