Skip to content

Instantly share code, notes, and snippets.

@chluehr
Created April 23, 2014 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chluehr/11213444 to your computer and use it in GitHub Desktop.
Save chluehr/11213444 to your computer and use it in GitHub Desktop.
Work around a misconfigured firewall by disabling TCP window scaling and TCP timestamps.
# http://prowiki.isc.upenn.edu/wiki/TCP_tuning_for_broken_firewalls
echo 0 | sudo tee /proc/sys/net/ipv4/tcp_timestamps
echo 0 | sudo tee /proc/sys/net/ipv4/tcp_window_scaling
# or add to sysctl.conf:
# net.ipv4.tcp_window_scaling=0
# net.ipv4.tcp_timestamps=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment