View the original community article here
Last tested: Jul 4, 2018
In order to comply with our recommended settings for system TCP keepalives, you may need to adjust the values. In order to do so, run the following, you will need to have sudo permisisons.
Open up the file where these settings changes live:
sudo vim /etc/sysctl.conf
add the line:
and save the file.
Then in order for those changes to come into effect, run:
sudo sysctl --system