Hi Haiyan,

Can you please be more specific. For example what other traffic except from 
interface A and B will be passing (are there other interfaces involved) ? Using 
nat44-ed forwarding is a bit tricky. It let's pass traffic without translation 
if a preexisting session isn't found so this would mean only static mapping 
get's translated. Forwarding feature is used for specific purposes when in 
mixed environments you have A configured as inside and also outside and B 
configured as inside and outside also.

Best regards,
Filip Varga

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of 
haiyan...@ilinkall.cn
Sent: Thursday, March 10, 2022 12:54 AM
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] about in/out arguments in "set interface nat44 .."command

Dear all

if only want traffic from interface A to interface B done with nat44, others 
will be directly out from interface B, is this possible?

I did the following command in vpp, but did not work
nat44 forwarding enable
nat44 add address <B'ip>
set interface nat44 in A out B

Thanks

________________________________
haiyan...@ilinkall.cn<mailto:haiyan...@ilinkall.cn>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21007): https://lists.fd.io/g/vpp-dev/message/21007
Mute This Topic: https://lists.fd.io/mt/89682456/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