Here's another draft for target address remapping. I've now given this some basic, though not extensive testing. v4: * Add suggested command line fix if attempting a forward from dual stack address to a specific address v3: * Moved target address validation to fwd_rule_add() and tidied up a bit * Some readability tweaks to man page v2: * Remove the patch altering --host-lo-to-ns-lo; it's not relevant to the change at hand. * Allow either just target address, just target port or both to be specified * Allow target address to be specified with all * Prohibit (for now) forwarding between IPv4 and IPv6 (including from to a specific address of either family). * Add the target address when formatting rules for debug display. * Updated man page for new syntax David Gibson (1): fwd_rule: Parse target addresses for forwarding rules Stefano Brivio (1): fwd, fwd_rule: Implement configurable target address mapping fwd.c | 8 +++- fwd_rule.c | 114 ++++++++++++++++++++++++++++++++++++++++++++--------- fwd_rule.h | 7 +++- passt.1 | 31 ++++++++++----- pesto.h | 6 ++- 5 files changed, 134 insertions(+), 32 deletions(-) -- 2.55.0