Re: [vpp-dev] NAT44 for TCP/UDP

2022-09-21 Thread yangbin_1638136...@qq.com
There are 2 types of NAT implementation. when you use "in" and "out" at same time. it's PRE-ROUTING NAT when you use "out" with "output-feature" keyword . it's POST-ROUTING NAT. no matter what type of NAT  you choose to use, there are 2 import thing you need to do, first,enable nat second,make su

Re: [vpp-dev] NAT44 for TCP/UDP

2022-09-21 Thread yangbin_1638136...@qq.com
I would advise trying command below: nat44 plugin enable sessions 63000 nat44 forwarding enable set nat timeout udp 3000 tcp-established 7440 tcp-transitory 2400 icmp 600 set interface nat44 out  {wan1} output-feature nat44 add static mapping tcp local 192.168.1.20 external 4.4.4.4 nat44 add inter