ich habe hier ein Problem mit Tinc. dank um funktioniert als basis nur ipv6. aber mein tinc-tunnel will nicht funktionieren.
tinc.conf
Name = client Device = /dev/net/tun Interface = vpn0 AddressFamily = ipv6 ProcessPriority = high PriorityInheritance = yes mode = router PrivateKeyFile = /etc/tinc/vpn-netz/rsa_key.priv ConnectTo=server
host/clients
Port = 655 Address = mydyndns.zuhause.de Subnet = 192.168.240.120/32 Cipher = aes-256-cbc Compression = 9 TCPOnly = no PMTUDiscovery = yes
tinc-up
#!/bin/sh /sbin/ip addr add 192.168.240.120/24 dev ${INTERFACE} /sbin/ip link set ${INTERFACE} up arp off
route gibt folgendes aus:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default kvm-server 0.0.0.0 UG 0 0 0 ens3 192.168.178.0 * 255.255.255.0 U 0 0 0 ens3 192.168.240.0 * 255.255.255.0 U 0 0 0 vpn0
ich bekomme aber folgende fehlermeldung -
B5518B0A0DE40D01A1D53F453F73BFAEF93EB0EE1A2073735790ACCB7BDBA03CB08041C3F150B218F58AE3047A10F946715059EF Oct 10 14:05:43 client tinc.[5317]: Sending 515 bytes of metadata to server (2a00:5080:1::1 port 655) Oct 10 14:05:43 client tinc.[5317]: Flushing 1040 bytes to vserver (2a00:5080:1::1 port 655) Oct 10 14:05:43 client tinc.[5317]: Connection closed by server (2a00:5080:1::1 port 655) Oct 10 14:05:43 client tinc.[5317]: Closing connection with server (2a00:5080:1::1 port 655) Oct 10 14:05:43 client tinc.[5317]: Could not set up a meta connection to server Oct 10 14:05:43 client tinc.[5317]: Trying to re-establish outgoing connection in 40 seconds Oct 10 14:05:43 client tinc.[5317]: Purging unreachable nodes Oct 10 14:05:44 client tinc.[5317]: Read packet of 98 bytes from Linux tun/tap device (tun mode) Oct 10 14:05:44 client tinc.[5317]: Cannot route packet from connectivity (MYSELF): unknown IPv4 destination address 192.168.240.204 Oct 10 14:05:44 client tinc.[5317]: Writing packet of 126 bytes to Linux tun/tap device (tun mode) Oct 10 14:05:45 client tinc.[5317]: Read packet of 98 bytes from Linux tun/tap device (tun mode) Oct 10 14:05:45 client tinc.[5317]: Cannot route packet from connectivity (MYSELF): unknown IPv4 destination address 192.168.240.204 Oct 10 14:05:45 client tinc.[5317]: Writing packet of 126 bytes to Linux tun/tap device (tun mode)
dienste auf beiden rechnern neu durchgestartet, und jetzt geht es doch...?