needed kernel parameters

Erich Eckner tinc at eckner.net
Fri Apr 30 15:23:58 CEST 2021


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 27 Apr 2021, Erich Eckner wrote:

> Hi,
>
> I'm trying to get tinc running on my crux linux machines (with self compiled 
> kernels). On one box, I got it runnig straight-forwardly, on the other, it 
> starts without errors, but is unable to actually reach any of my other tinc 
> instances: The log suggests, that the connection is established, MTU probes 
> and pings/pongs are sent and received, but a ping on the tun ip of the other 
> node fails.
>
> My suspicion is, that I'm missing some kernel parameters (I had to add 
> CONFIG_TUN to make it start at all, for example).
>
> Is there any documentation on what kernel parameters are needed for 
> configuration with tun?
>
> However, maybe the error is somewhere completely else, because upon 
> investigation I just noticed, that one of my *other* machines (running 
> archlinux32, not crux) is also unable to connect and shows similar symptoms. 
> Any idea, how to investigate this further?
>
> regards,
> Erich

Hi,

just some follow-up: I played around a little bit with wireshark, tcpdump 
and ping and noticed, that pings were actually running back and forth 
successfully. Then I looked at my config again and noticed, that I had 
missed the "Subnet = $ip/32" line in my own hosts/... config file - adding 
this fixed the problem :-)

regards,
Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmCMBPAACgkQCu7JB1Xa
e1qn/RAAtQSaxNnsndSltfNgYomsR/yBFAhUgPu5cLo4DivlYkO1g6C8G2dROKul
zca0hxO+BehvfTgGjjtO2iCF1svEcXEFTWwIjt+eyy+jakjmhBi/ea2ac8w4z1o0
3DEKX9qCaFJPw3rNp6q/XKf0j8Co8QNsi1duKXDVhs8XJoX2Mh2cYBIS5N2zPxGH
zJb/o14J2eERoIESFtfAB20P03GlvnXPSgLkEUvyqqv6LwiS5zufu2QfIuWYd3ph
10jtDOa6AdRF176SEpC/4Jm0+YbTI7JcnxzlOtXbH3B50DkAX4VQ0NpLfArlF0Tm
ZPxmImQ7qQbOCgngqLou1NzUof0/dnNKNwydYbbdaQPWZHuXXu+5rvMtboGvZX27
z5CLap9BJzUEs0rfai4cpSGBCuJWT48g4YbxJ7M1n9KB3SYPv6Rm2il7Crec3btT
t7//Li4I1fXyI+YYYuwOqNSl5DKasVr0uZ928cHPUjthgLqrlc4Fu9b7nBVZPgqW
Cz4T/eEYQPmXDZGoHZG3e7zCWILyOde8zbhIHwhdpACDSIlXumCEWUvUZAvps7Yc
l+GuTM1jCi/MIIRLv1YKa6W9ev7oMDENV5RiZjDmpmNLgK8BRPgEqLNUnNAicE7S
6hAI5981XJztDzPS2MF8g3BRf2JNKJ9fewa/aGT9N4I7ibaFPb4=
=vxBs
-----END PGP SIGNATURE-----


More information about the tinc mailing list