How To Set Up A NAT Router On Ubuntu Server 16
How To Set Up A NAT Router On Ubuntu Server 16
How To Set Up A NAT Router On Ubuntu Server 16
SERVER SPECS
root@ubuntu-DHC-SVR-RTR:/home/tokunbo# lsb_release –a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Lets go............
1) CONFIGURE NETWORK INTERFACES
My server has 2-network interfaces, configured as follows:
#Interface to the internet
auto enp0s3
iface enp0s3 inet dhcp
#interface to my LAN
auto enp0s8
iface enp0s8 inet static
address 172.16.1.2
netmask 255.255.255.0
network 172.16.1.0
gateway 172.16.1.2
2) INSTALL DHCP SERVER
How to install a DHCP server in Ubuntu Server 16.04