Skip to content

Conversation

@natali-rs1985
Copy link
Contributor

@natali-rs1985 natali-rs1985 commented Oct 21, 2025

Change summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

vyos/vyos-documentation#1695

How to test / Smoketest result

set vpp settings interface eth1 driver 'dpdk'
set vpp settings interface eth0 driver 'dpdk'
set vpp nat44 address-pool twice-nat address '203.0.113.6'
set vpp nat44 interface inside 'eth1'
set vpp nat44 interface outside 'eth0'
set vpp nat44 static rule 100 description 'RDP server - external access only'
set vpp nat44 static rule 100 external address '203.0.113.5'
set vpp nat44 static rule 100 external port '3389'
set vpp nat44 static rule 100 local address '10.10.10.30'
set vpp nat44 static rule 100 local port '3389'
set vpp nat44 static rule 100 options out-to-in-only
set vpp nat44 static rule 100 protocol 'tcp'
set vpp nat44 static rule 200 description 'Web server alt port with twice-NAT'
set vpp nat44 static rule 200 external address '203.0.113.3'
set vpp nat44 static rule 200 external port '8080'
set vpp nat44 static rule 200 local address '10.10.10.10'
set vpp nat44 static rule 200 local port '8080'
set vpp nat44 static rule 200 options self-twice-nat
set vpp nat44 static rule 200 protocol 'tcp'


vyos@vyos# commit
[ vpp ]

WARNING: NOTE: Current dataplane capacity (estimated): 2.1 M IPv4
routes. Exceeding these values will lead to a dataplane out-of-memory
condition and a crash. Extensive use of features like ACLs, NAT and
others may reduce the numbers above. Please read the documentation for
details: https://docs.vyos.io/


[ vpp nat44 ]
Configuration error in static rule 200: external address 203.0.113.3 is
not in "address-pool translation"
[[vpp nat44]] failed
Commit failed
[edit]
vyos@vyos# set vpp nat44 address-pool translation address 203.0.113.3
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# sudo vppctl show nat44 static mappings
NAT44 static mappings:
 TCP local 10.10.10.30:3389 external 203.0.113.5:3389 vrf 0  out2in-only
 TCP local 10.10.10.10:8080 external 203.0.113.3:8080 vrf 0 self-twice-nat
[edit]

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@natali-rs1985 natali-rs1985 marked this pull request as ready for review October 21, 2025 09:45
@github-actions
Copy link

github-actions bot commented Oct 21, 2025

👍
No issues in PR Title / Commit Title

@github-actions
Copy link

CI integration 👍 passed!

Details

CI logs

  • CLI Smoketests (no interfaces) 👍 passed
  • CLI Smoketests VPP 👍 passed
  • CLI Smoketests (interfaces only) 👍 passed
  • Config tests 👍 passed
  • Config tests VPP 👍 passed
  • RAID1 tests 👍 passed
  • TPM tests 👍 passed

Copy link
Contributor

@zdc zdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not tested this, but this looks very straightforward.

@dmbaturin dmbaturin merged commit ad0ad37 into vyos:current Oct 21, 2025
21 checks passed
@vyosbot vyosbot added mirror-initiated This PR initiated for mirror sync workflow mirror-completed and removed mirror-initiated This PR initiated for mirror sync workflow labels Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bp/circinus Create automatic backport for circinus current mirror-completed

Development

Successfully merging this pull request may close these issues.

4 participants