From the course: Linux Hardening

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Network hardening at the host

Network hardening at the host - Linux Tutorial

From the course: Linux Hardening

Network hardening at the host

Welcome to Cybrary's Linux Hardening course and this lesson about network hardening at the host. I'm your instructor, Corey Holzer. Let's get started. This lesson has two objectives. First, explaining how to turn off IPv6 when you don't use it. Second, we will discuss employing NIC bonding to improve a system's resiliency. We have to treat any functionality on a server as a service. Since the plan is to disable or uninstall all unused services, we need to disable IPv6 if it's not in use. The group of commands you see here disable IPv6. You can confirm that IPv6 is disabled by using the command ip a. Permanently disabling IPv6 requires editing the sysctl.conf file and adding the text from the three bullets to the bottom of the configuration file. After saving the configuration file, you still need to effect the change. This can be done in one of two ways, either sudo sysctl-p or sudo systemctl restart networking.services. By the way, notice the period between networking and services…

Contents