Manage the Tanium Client on Linux
The Tanium Client is installed as a system service on Linux endpoints. The default installation directory for Tanium Client files is /opt/Tanium/TaniumClient.
Manage Linux firewall rules
The installation process does not modify any host-based firewall that might be in use. A network security administrator must ensure that host and network firewalls are configured to allow inbound and outbound TCP traffic on port 17472 and the port that the Client uses for peer Tanium Client traffic (default 17472).
The following subsections list example commands for managing Linux firewalls based on default distributions of Linux.
Amazon Linux
By default, the iptables utility for managing the firewall is not configured on Amazon Linux AMI (2016.09, 2017.09, 2018.3) or Amazon Linux 2 LTS. To add, remove, deny, or view the status of ports that the Tanium Client uses, check your Amazon Web Services (AWS) security group instead.
Debian
By default, the iptables utility for managing the firewall is not configured on Debian 6.x, 7.x, 8.x, or 9.x.
CentOS, AlmaLinux, Rocky Linux, Oracle Linux, Red Hat Linux
Version 7.x or later
The following table lists the commands for managing firewall rules for versions 7.x or later of CentOS, Oracle Linux, or Red Hat Linux, or version 8.x or later of AlmaLinux or Rocky Linux:
|
Tasks |
Commands |
|---|---|
|
View rules for port 17472 |
sudo firewall-cmd --list-all-zones | grep 17472 |
|
Add or allow port 17472 |
|
|
Remove or deny port 17472 |
|
Versions 5.x and 6.x
The following table lists the commands for managing firewall rules for versions 5.x and 6.x of CentOS, Oracle Linux, and Red Hat Linux.
|
Tasks |
Commands |
|---|---|
|
Check the firewall status |
iptables -L -n --line-numbers | egrep -i "^Chain|REJECT *all" The firewall is enabled when a |
|
View rules for port 17472 |
sudo iptables -L -n | grep 17472 |
|
Add or allow port 17472 |
|
|
Remove or deny port 17472 |
|
OpenSUSE and SLES
Version 15.x
The following table lists the commands for managing firewall rules for versions 15.x of OpenSUSE and SUSE Linux Enterprise Server (SLES):
|
Tasks |
Commands |
|---|---|
|
View rules for port 17472 |
sudo firewall-cmd --list-all-zones | grep 17472 |
|
Add or allow port 17472 |
|
|
Remove or deny port 17472 |
|
Version 12.X
The following table lists the commands for managing firewall rules for version 12.x of OpenSUSE and SUSE Linux Enterprise Server (SLES):
|
Tasks |
Commands |
|---|---|
|
View rules for port 17472 |
sudo grep "FW_SERVICES_EXT_TCP=" /etc/sysconfig/SuSEfirewall2 | egrep "[ \"]17472[ \"]" |
|
Add or allow port 17472 |
|
|
Remove or deny port 17472 |
|
Ubuntu
The following table lists the commands for managing firewall rules for Ubuntu:
|
Tasks |
Commands |
|---|---|
|
View port 17472 status |
sudo ufw status | grep 17472 or sudo iptables -L -n | grep 17472 |
|
Allow port 17472 |
sudo ufw allow 17472/tcp |
|
Remove port 17472 |
sudo ufw delete allow 17472/tcp |
|
Deny port 17472 |
sudo ufw deny 17472/tcp |
Manage the Tanium Client service on Linux
Linux service commands vary according to Linux distribution. This documentation provides examples but is not a reference for each Linux distribution. If you are not already familiar with installing and managing services on your target Linux distribution, review the documentation for the particular Linux operating system before you begin.
|
Linux distributions and versions |
Typical commands |
|---|---|
|
Versions that use the systemd daemon (all distributions)
|
systemctl start taniumclient systemctl stop taniumclient systemctl status taniumclient |
|
Versions that use the init daemon (Debian-based distributions)
|
service taniumclient start service taniumclient stop service taniumClient status |
|
Versions that use the init daemon (RPM-based distributions)
|
service TaniumClient start service TaniumClient stop service TaniumClient status |
Move an existing installation of the Tanium Client on Linux
The Tanium Client must store data in the default installation directory. For this reason, in some environments, the size of the /opt/Tanium directory might exceed the space allowed within the /opt directory. If there is not enough space in the default directory, use a symbolic link to move the Client and data to another directory.