User-defined Playground

Linux NAT Gateway Lab Playground

Two nodes on a private LAN with no Internet access of their own, and a dual-homed Linux box that acts as their NAT gateway.

Linux NAT Gateway Lab playground: Two nodes on a private LAN with no Internet access of their own, and a dual-homed Linux box
that acts as their NAT gateway.
Machines & network
3 VMs · 3 vCPU · 3GiB RAM
Playground host Internet NAT MASQUERADE public (bridge) 10.0.0.0/16 gw 10.0.0.1/16private (bridge) 192.168.178.0/24 gw 192.168.178.1/24 · privateeth0eth0eth0eth1
VM
vCPU ·
eth0
/
ubuntu-24-04
VM
vCPU ·
eth0
/
ubuntu-24-04
VM
vCPU ·
eth0
eth1
/
ubuntu-24-04
About

About This Playground

The topology of the NAT gateway challenge, packed into a ready-to-use playground.

  • node-01 (192.168.178.101) and node-02 (192.168.178.102) - hosts on the private private network. It has no Internet access and no default route.
  • gateway (private 192.168.178.100, public 10.0.0.10) - a dual-homed Linux box with Internet access on its public leg.

The start dialog asks how to prepare the gateway:

  • configured (default) - IP forwarding and masquerading are enabled on the gateway, and both nodes route via 192.168.178.100. The nodes have Internet access right away.
  • manual - nothing is configured. Turn the gateway into a NAT router yourself.
Every playground includes
Learn more about playgrounds
Start
Settings