iptables

Table of Contents

Version 1.6.2
Package Size 279KB
Installed Size 1724KB
   

摘要

介绍

Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages. These scripts can adapt the packages to many kinds of UNIX-like systems without manual user intervention. Autoconf creates a configuration script for a package from a template file that lists the operating system features that the package can use, in the form of M4 macro calls.

如何安装

先决条件

from Source code

依赖

  • libc6 : GNU C Library: Shared libraries also a virtual package provided by libc6-udeb
    • [amd64] (>= 2.14)
    • [arm64, ppc64el] (>= 2.17)
    • [not amd64, arm64, ppc64el] (>= >= 2.7)
  • libnfnetlink0
    • Netfilter netlink library
  • libxtables11 (= 1.6.0-2ubuntu3)
    • netfilter xtables library

安装

Ubuntu

$ sudo apt-get install iptables

CentOS

$ sudo apt-get install iptables-services

from Source code

依赖库是必需的。

$ git clone git://git.netfilter.org/iptables
$ cd iptables
$ autoreconf -i
$ ./configure
$ make
$ sudo make install

安装的软件包

  • iptables

检查

$ iptables --version
iptables v1.6.0

参考

Date: 2018-02-20

Author: Dongsoo Lee

Created: 2018-12-10 Mon 03:16

Validate