Firewall and router on Debian
Network interfaces /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # WAN network interface auto eth0 iface eth0 inet static address 172.16.2.19 netmask 255.255.255.240 network 172.16.2.16 broadcast 172.16.2.31 gateway 172.16.2.17 # LAN network interface auto eth1 iface eth1 inet static address 192.168.122.1 netmask 255.255.255.224 network 192.168.122.0 broadcast 192.168.122.31 UFW apt-get install … Read more