summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-11-05 00:34:36 +0700
committerGitHub <noreply@github.com>2020-11-05 00:34:36 +0700
commit1b9b32af96eb7334cb961ebecbaad66294bbc064 (patch)
tree0e764ccef7057b75c9aac99d906212c0f070255c
parentaa6ea71632c6c8fb39c39e7480d816d2394b2af5 (diff)
parentaae95720b0cdabb78d0c8c1f592765c65dd8aeba (diff)
downloadvyos-documentation-1b9b32af96eb7334cb961ebecbaad66294bbc064.tar.gz
vyos-documentation-1b9b32af96eb7334cb961ebecbaad66294bbc064.zip
Merge pull request #364 from currite/crux-sticky-conn-img
wan-load-balancing: add wiki image for sticky connections
-rw-r--r--docs/_static/images/sticky-connections.jpgbin0 -> 22252 bytes
-rw-r--r--docs/load-balancing.rst6
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/_static/images/sticky-connections.jpg b/docs/_static/images/sticky-connections.jpg
new file mode 100644
index 00000000..25fd72a9
--- /dev/null
+++ b/docs/_static/images/sticky-connections.jpg
Binary files differ
diff --git a/docs/load-balancing.rst b/docs/load-balancing.rst
index 0149ac76..cae2f6a5 100644
--- a/docs/load-balancing.rst
+++ b/docs/load-balancing.rst
@@ -159,6 +159,12 @@ This works through automatically generated source NAT (SNAT) rules, these rules
Sticky Connections
------------------
+Inbound connections to a WAN interface can be improperly handled when the reply is sent back to the client.
+
+.. image:: /_static/images/sticky-connections.jpg
+ :width: 80%
+ :align: center
+
Upon reception of an incoming packet, when a response is sent, it might be desired to ensure that it leaves from the same interface as the inbound one.
This can be achieved by enabling sticky connections in the load balancing: