Jay Taylor's notes

back to listing index

Building a Linux Gateway using Ubuntu Server 18.04

[web search]
Original source (www.thomaslaurenson.com)
Tags: linux howto networking www.thomaslaurenson.com
Clipped on: 2020-03-07

This post documents how to build a Linux gateway using Ubuntu Server 18.04. The gateway connects an internal network to an external network - basically, performing Network Address Translation (NAT) for hosts on the internal network. It is exceptionally similar to what your ISP supplied home router does. To achieve this, an Ubuntu Linux server is configured as a DHCP server and also to provide NAT using iptables.



This tutorial is written when building a blueprint for VMWare vRealize, but the instructions lend to any virtualization, or normal, system. The gateway connects to an external network named vlan25_Profile which provides Internet access, and a second network, InternalNetwork, which is an isolated network. While host1 only connects to the InternalNetwork. The vRealize blueprint for the network is displayed below.

Image (Asset 1/5) alt=

Log in with
or sign up with Disqus

Disqus is a discussion network

  • Disqus never moderates or censors. The rules on this community are its own.
  • Don't be a jerk or do anything illegal. Everything is easier that way.

Read full terms and conditions

© 2020 Thomas Laurenson
Twitter Email GitHub LinkedIn