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 interface address {wan1}     //replace "wan1"  with your wan 
interface name

just make sure , your default route(fib 0.0.0.0/0) output interface is wan1.  
if not, just repalce {wan1} with the specific interface name.
and if there is no default fib item in your fib table, just check the 
destination ip address in your fib table with command (sh ip fib 
X.X.X.X/32),the output info will dispaly the output interface name, make sure 
the "NAT44 command" with the right
output interface name.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21906): https://lists.fd.io/g/vpp-dev/message/21906
Mute This Topic: https://lists.fd.io/mt/92906473/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to