-
Notifications
You must be signed in to change notification settings - Fork 16
vr_nat4
Ruben S. Montero edited this page Jan 10, 2024
·
8 revisions
This feature enables MASQUERADE in the POSTROUTING chain in iptables
.
For example, when three NICs (eth0
, eth1
, eth2
) are attached to a VR:
CONTEXT = [
...
ONEAPP_VNF_NAT4_ENABLED = "YES",
ONEAPP_VNF_NAT4_INTERFACES_OUT = "eth0", # same as "!eth1 !eth2"
...
]
Gives:
$ iptables -t nat -vnL NAT4
Chain NAT4 (1 references)
pkts bytes target prot opt in out source destination
12345 6789K MASQUERADE 0 -- * eth0 0.0.0.0/0 0.0.0.0/0
Parameter | Default | Description |
---|---|---|
ONEAPP_VNF_NAT4_ENABLED |
NO |
Enable/Disable NAT feature (YES/NO ) |
ONEAPP_VNF_NAT4_INTERFACES_OUT |
no NICs |
Mandatory: Outgoing NICs for NAT (<[!]ethX> ... ) |
- OpenNebula Apps Overview
- OS Appliances Update Policy
- OneApps Quick Intro
- Build Instructions
- Linux Contextualization Packages
- Windows Contextualization Packages
- OneKE (OpenNebula Kubernetes Edition)
- Virtual Router
- Release Notes
- Overview
- Quick Start
- OpenRC Services
- Virtual Router Modules
- Glossary
- WordPress
- Harbor Container Registry
- MinIO
- Development