Slackware 13.1 - Installing arptables (with epkg) ===================================== Public domain ******************************************************************************** ### Installarion cd /usr/src wget -c "http://sourceforge.net/projects/ebtables/files/arptables/arptables-v0.0.3/arptables-v0.0.3-4.tar.gz" su - install cd /usr/src/ tar xf arptables-v0.0.3-4.tar.gz cd arptables-v0.0.3-4 make sed -ie 's,-o root -g root,,' Makefile make install DESTDIR=/usr/local/encap/arptables-v0.0.3-4 cd /usr/local/encap/arptables-v0.0.3-4/ mv usr/local/man/ usr/ cd /usr/local/encap/ mkencap arptables-v0.0.3-4 logout cd /usr/local/encap/ epkg arptables-v0.0.3-4 ******************************************************************************** ### Usage arptables -F arptables -A INPUT -i eth1.2 -s 192.168.1.2 --source-mac 00:50:bf:96:a5:83 -j ACCEPT arptables -L -nxv # iptables -t filter -A FORWARD -i eth1.2 -s 192.168.1.2 -m mac --mac-source 00:50:bf:96:a5:83 -j ACCEPT ******************************************************************************** ### Bookmarks [http://ebtables.sourceforge.net](http://ebtables.sourceforge.net) [http://sourceforge.net/projects/ebtables/files/arptables/arptables-v0.0.3](http://sourceforge.net/projects/ebtables/files/arptables/arptables-v0.0.3) ******************************************************************************** _BY: Pejman Moghadam_ _TAG: epkg, arptables_ _DATE: 2010-12-29 11:48:46_