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

Commit d418636

Browse files
committed
Change tcp mss to avoid mtu problems
1 parent f2613d4 commit d418636

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

services/coreos/coreos.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ write_files:
2222
permissions: 0644
2323
owner: root:root
2424
content: |
25+
*mangle
26+
:PREROUTING ACCEPT [0:0]
27+
:INPUT ACCEPT [0:0]
28+
:FORWARD ACCEPT [0:0]
29+
:OUTPUT ACCEPT [0:0]
30+
:POSTROUTING ACCEPT [0:0]
31+
-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
32+
COMMIT
2533
*nat
2634
:PREROUTING ACCEPT [0:0]
2735
:POSTROUTING ACCEPT [0:0]

0 commit comments

Comments
 (0)