While troubleshooting a connectivity issue across VPN and NAT, I decided to check some TCP settings and came across this:
root@vyos:~# cat /proc/sys/net/ipv4/tcp_tw_reuse
It’s possible that this is completely unrelated, but I would like to understand what this means. Does anyone know how and why this is set? I don’t see it /etc/sysclt.conf.
When checking Linux’s TCP manual, I see:
tcp_tw_reuse (Boolean; default: disabled; since Linux 2.4.19/2.6)
Allow to reuse TIME_WAIT sockets for new connections when it is safe from protocol viewpoint. It should not be changed without advice/request of technical experts.
And I believe boolean means 0 or 1, which leaves me wondering what “2” does.
If anyone has any insight on this, it would be very helpful.
Thanks in advance.