最近看到一些帖子发现原来除了iptables还有arptables、ebtables,这里关于他们的具体应用我就不说了,因为我也不知道呵呵,是真不知道啊
只说说如何安装吧
环境是RHEL5.3
arptables 的安装
tar -xzvf arptables-v0.0.3-3.tar.gz
./configure
make
make install
安装好后用arptables -h 查看命令应用
ebtables 的安装
tar -xjvf libnfnetlink-1.0.0.tar.bz2
./configure --prefix=/usr/
make
make install
tar -xjvf libnetfilter_conntrack-0.0.100.tar.bz2
./configure --prefix=/usr/
make
make install
这里安装的是rpm包
rpm -ivh ebtables-2.0.9-1.i386.rpm
安装完成后 ebtables -h 查看命令应用
http://ftp.netfilter.org/pub/libnetfilter_conntrack/libnetfilter_conntrack-0.0.100.tar.bz2
http://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.0.tar.bz2
http://ncu.dl.sourceforge.net/project/ebtables/ebtables/ebtables-2-0-9-1/ebtables-v2.0.9-1.tar.gz
http://ncu.dl.sourceforge.net/project/ebtables/ebtables-rpm/ebtables-2-0-9-1/ebtables-2.0.9-1.i386.rpm
http://ncu.dl.sourceforge.net/project/ebtables/arptables/arptables-v0.0.3/arptables-v0.0.3-3.tar.gz
只说说如何安装吧
环境是RHEL5.3
arptables 的安装
tar -xzvf arptables-v0.0.3-3.tar.gz
./configure
make
make install
安装好后用arptables -h 查看命令应用
ebtables 的安装
tar -xjvf libnfnetlink-1.0.0.tar.bz2
./configure --prefix=/usr/
make
make install
tar -xjvf libnetfilter_conntrack-0.0.100.tar.bz2
./configure --prefix=/usr/
make
make install
这里安装的是rpm包
rpm -ivh ebtables-2.0.9-1.i386.rpm
安装完成后 ebtables -h 查看命令应用
http://ftp.netfilter.org/pub/libnetfilter_conntrack/libnetfilter_conntrack-0.0.100.tar.bz2
http://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.0.tar.bz2
http://ncu.dl.sourceforge.net/project/ebtables/ebtables/ebtables-2-0-9-1/ebtables-v2.0.9-1.tar.gz
http://ncu.dl.sourceforge.net/project/ebtables/ebtables-rpm/ebtables-2-0-9-1/ebtables-2.0.9-1.i386.rpm
http://ncu.dl.sourceforge.net/project/ebtables/arptables/arptables-v0.0.3/arptables-v0.0.3-3.tar.gz
转载于:https://blog.51cto.com/gaizaoren/184117