Services

ip nat inside / outside

Tag the interface as the inside (private) or outside (public) side of NAT.

Works on: RouterMode: iface
Run this command live

Don't just read it — type ip nat inside / outside in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ip nat inside / outside" command do?

Tag the interface as the inside (private) or outside (public) side of NAT.

More Services commands

← Back to the full command reference

ip nat inside / outside — network CLI command reference · NetForge-AI