diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2025-04-23 15:11:16 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2025-04-25 13:44:45 +0300 |
| commit | fa293316e679645e6397697428cee96e32e346fc (patch) | |
| tree | 046587e39d00c2959cd159583b6b4059de16de99 /interface-definitions/include/kernel-interface-tap.xml.i | |
| parent | 4d32bcddda72c1df944470f06b75908b2dc31667 (diff) | |
| download | vyos-1x-fa293316e679645e6397697428cee96e32e346fc.tar.gz vyos-1x-fa293316e679645e6397697428cee96e32e346fc.zip | |
T7181: VPP Static and dynamic NAT
New CLI for static and dynamic NAT:
```
set vpp nat44 interface outside <interface> # multi
set vpp nat44 interface inside <interface> # multi
set vpp nat44 address-pool translation interface <interface> # multi
set vpp nat44 address-pool translation address <address> # multi
set vpp nat44 address-pool twice-nat interface <interface> # multi
set vpp nat44 address-pool twice-nat address <address> # multi
set vpp nat44 static rule <rule> external address <address>
set vpp nat44 static rule <rule> external port <port>
set vpp nat44 static rule <rule> local address <address>
set vpp nat44 static rule <rule> local port <port>
set vpp nat44 static rule <rule> protocol <protocol>
set vpp nat44 static rule <rule> options twice-nat
set vpp nat44 static rule <rule> options self-twice-nat
set vpp nat44 static rule <rule> options out-to-in-only
set vpp nat44 static rule <rule> options twice-nat-address <address>
set vpp nat44 exclude rule <rule> protocol <protocol>
set vpp nat44 exclude rule <rule> local-port <port>
set vpp nat44 exclude rule <rule> local-address <address>
set vpp nat44 exclude rule <rule> external-interface <interface>
```
Settings:
```
set vpp settings nat44 session-limit <limit> # default 64512
set vpp settings nat44 timeout udp <sec> # default 300
set vpp settings nat44 timeout tcp-established <sec> # default 7440
set vpp settings nat44 timeout tcp-transitory <sec> # default 240
set vpp settings nat44 timeout icmp <sec> # default 60
set vpp settings nat44 workers <list>
set vpp settings nat44 no-forwarding
```
Diffstat (limited to 'interface-definitions/include/kernel-interface-tap.xml.i')
0 files changed, 0 insertions, 0 deletions
