On Linux systems, the tcp_fin_wait timeout is stored in /proc/sys/net/ipv4/tcp_fin_timeout.

You can change the value of this parameter using the sysctl command.

To get the value, issue the following command:

/sbin/sysctl net.ipv4.tcp_fin_timeout

To set the value, issue the following command:

/sbin/sysctl -w net.ipv4.tcp_fin_timeout=30


Copyright © Legal Notices