From f45891cf2655ebda318833b1ca4d11a451d6f398 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 14 Oct 2021 05:26:37 +0200 Subject: conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to host Signed-off-by: Stefano Brivio --- passt.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'passt.1') diff --git a/passt.1 b/passt.1 index bf8228d..3355bff 100644 --- a/passt.1 +++ b/passt.1 @@ -207,6 +207,11 @@ namespace will be silently dropped. Disable Router Advertisements. Router Solicitations coming from guest or target namespace will be ignored. +.TP +.BR \-\-no-map-gw +Don't remap TCP connections and untracked UDP traffic, with the gateway address +as destination, to the host. + .TP .BR \-4 ", " \-\-ipv4-only Enable IPv4-only operation. IPv6 traffic will be ignored. @@ -635,7 +640,7 @@ address corresponding to the default gateway will have their destination address translated to a loopback address, if and only if a packet, in the opposite direction, with a loopback destination or source address, port-wise matching for UDP, or connection-wise for TCP, has been recently forwarded to guest or -namespace. +namespace. This behaviour can be disabled with \-\-no\-map\-gw. .SS Handling of local traffic in pasta -- cgit v1.2.3