Hello Marcos,

I am currently working on updating docs for all NAT plugins. These docs & 
introduction should be than located in the appropriate plugin directory in 
markdown file.

The wiki docs is outdated.
To use DET44 nat (it is a separate plugin now) you would have to first enable 
the plugin and then set the timeout. For example like this:

det44 plugin enable
set interface det44 inside <> outside <>
set det44 timeouts udp <sec> tcp established <sec> tcp transitory <sec> icmp 
<sec>
det44 add in <addr>/<plen> out <addr>/<plen>

  *   to add maps

Best regards,
Filip Varga


From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Marcos - Mgiga
Sent: Monday, April 5, 2021 9:56 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] TCP timeout

Hello VPP experts,

I would like to set a certain timeout value  for TCP established connections. 
According to VPP Wiki ( https://wiki.fd.io/view/VPP/NAT) in deterministic mode, 
that would be achieved by using the following sintax:

set nat44 deterministic timeout [udp <sec> | tcp-established <sec> | 
tcp-transitory <sec> | icmp <sec> | reset]

In my enviroment ( Using VPP 20.05) I just was able to change that value using 
: set nat timeout udp 300  tcp-established 900 tcp-transitory 240 icmp 90. I 
would like to confirm is this behavior is correct.

Best Regards

Marcos
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19107): https://lists.fd.io/g/vpp-dev/message/19107
Mute This Topic: https://lists.fd.io/mt/81873610/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to