Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
Change tcp mss to avoid mtu problems
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-v committed Aug 7, 2018
1 parent f2613d4 commit d418636
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions services/coreos/coreos.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ write_files:
permissions: 0644
owner: root:root
content: |
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A FORWARD -s 192.168.99.0/24 -o eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1361:1536 -j TCPMSS --set-mss 1360
COMMIT
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
Expand Down

0 comments on commit d418636

Please sign in to comment.