LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I build this iptables feature (https://www.linuxquestions.org/questions/linux-networking-3/how-can-i-build-this-iptables-feature-830729/)

chxooi 09-07-2010 03:08 AM

How can I build this iptables feature
 
I am trying to port netfilter on my embedded linux target board.
Target board has linux kernel 2.6.x I started with iptables tutorial.
Also,I extracted the iptables source code on my nfs root file system

But, I don't know how to build and install this iptables for my target board.
whenever I try to "make" and "insall" on my host, it always changes my host iptables not my target.

How can I build this iptables feature on my host for my target.
and which files should be copy(?) or install(?) into my target nfs file system.

sem007 09-07-2010 03:20 AM

Quote:

Originally Posted by chxooi (Post 4090142)
I am trying to port netfilter on my embedded linux target board.
Target board has linux kernel 2.6.x I started with iptables tutorial.
Also,I extracted the iptables source code on my nfs root file system

But, I don't know how to build and install this iptables for my target board.
whenever I try to "make" and "insall" on my host, it always changes my host iptables not my target.

How can I build this iptables feature on my host for my target.
and which files should be copy(?) or install(?) into my target nfs file system.

I am not understand your question properly.

If you want to install and use iptables you can install from their repository.

Code:

i.e
in debian/ubuntu
$ sudo apt-get install iptables

in redhat base distro
# rpm -ivh iptables
or
# yum instll iptables


chxooi 09-07-2010 05:24 AM

Sorry!
I have to move this post to the "embedded category".


All times are GMT -5. The time now is 08:29 AM.