summaryrefslogtreecommitdiff
path: root/docs/firewall.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-21 21:04:21 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-21 21:04:21 +0200
commitc0a077b7456bb6a3d43f4b0e2a748d93607be40e (patch)
tree00bf67d27aecf2bb00143998223482bf6dcaa76e /docs/firewall.rst
parentb7b94d6a147f64fcad2fda0997629eef734960d6 (diff)
parentb7059fb3911aa3011d22d5aeb2b2361a63ab9fba (diff)
downloadvyos-documentation-c0a077b7456bb6a3d43f4b0e2a748d93607be40e.tar.gz
vyos-documentation-c0a077b7456bb6a3d43f4b0e2a748d93607be40e.zip
Merge branch 'crux' into 'master'
* crux: MSS-Clamping: move from routing to firewall chapter Version: set version/release to 1.2.2/Crux Login: adjust CLI interface to VyOS 1.2 crux
Diffstat (limited to 'docs/firewall.rst')
-rw-r--r--docs/firewall.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/firewall.rst b/docs/firewall.rst
index 8ab4dacf..e14cb19b 100644
--- a/docs/firewall.rst
+++ b/docs/firewall.rst
@@ -174,5 +174,42 @@ Example Partial Config
}
}
+MSS Clamping
+------------
+
+As Internet wide PMTU discovery rarely works we sometimes need to clamp our TCP
+MSS value to a specific value. Starting with VyOS 1.2 there is a firewall option
+to clamp your TCP MSS value for IPv4 and IPv6.
+
+Clamping can be disabled per interface using the `disable` keywork:
+
+.. code-block:: sh
+
+ set firewall options interface pppoe0 disable
+
+IPv4
+----
+
+Clamp outgoing MSS value in a TCP SYN packet to `1452` for `pppoe0` and `1372`
+for your WireGuard `wg02` tunnel.
+
+.. code-block:: sh
+
+ set firewall options interface pppoe0 adjust-mss '1452'
+ set firewall options interface wg02 adjust-mss '1372'
+
+IPv6
+----
+
+Clamp outgoing MSS value in a TCP SYN packet to `1280` for both `pppoe0` and
+`wg02` interface.
+
+To achieve the same for IPv6 please use:
+
+.. code-block:: sh
+
+ set firewall options interface pppoe0 adjust-mss6 '1280'
+ set firewall options interface wg02 adjust-mss6 '1280'
+
[https://www.xfinity.com/support/internet/list-of-blocked-ports/ XFinity Blocked Port List]