Created
January 23, 2019 10:06
-
-
Save delfer/279e4ba5e953d1f5d7bdc790c8e6ce28 to your computer and use it in GitHub Desktop.
docker-mtu-fix.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Docker mtu fix | |
| After=network.target docker.service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/sbin/iptables -I DOCKER-USER -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment