< Home - < Back

iptables


Information about the package, iptables, which is shipped with common Linux distributions. The iptables package is designed for, Tools for managing Linux kernel packet filtering capabilities.


Package Name:

iptables

Summary:

Tools for managing Linux kernel packet filtering capabilities

Description:

The iptables utility controls the network packet filtering code in the Linux kernel. If you need to set up firewalls and/or IP masquerading, you should install this package.

Architecture:

i686

Version:

1.4.7

Release:

16.el6

Size:

250 k

Repository:

base

From Repository:

Licence:

GPLv2



Handy Yum Commands for iptables


Control the iptables package with the following handy commands outlined below.


Command

Description of Command

yum install iptables

This command will install iptables on the server.

yum remove iptables

This command will un-install iptables on the server. When you run this command, you will be asked if you are sure that you want to remove iptables, so you have to manually confirm that you want to do this.

yum -y remove iptables

This command will un-install iptables on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove iptables when using the -y flag.

yum update iptables

This command will update iptables to the latest version. When you run this command, you will be asked if you are sure that you want to remove iptables, so you have to manually confirm that you want to do this.

yum -y update iptables

This command will update iptables to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove iptables when using the -y flag.

yum info iptables

This command will show you core information about the iptables package.

yum deplist iptables

This command will show you the dependencies for iptables. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update iptables

This command will check if there is an update waiting on iptables. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.