LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2006, 03:05 AM   #1
er_gaurav22
LQ Newbie
 
Registered: Apr 2006
Posts: 20

Rep: Reputation: 0
how to install iptables


hello,

My name is Gaurav Sharma,I m phasing the problem of iptables,pls tell me the whole procedure to install iptables in a system,pls help me.pls give me any idea.
I m working on Mandrik Linux,I m installing the APF(Advanced Policy Firewall). iptables hv not installed in Linux,so I hv installed the APF but when i restart the service apf then i phaseerror(unable to load ip_table).I want to know what r the installation steps of iptables.

I hv followed these steps:


1. Download package iptables-1.3.5
2. cd /tmp
3. tar -xvjf ./iptables-1.*.*.tar.bz2 -C /usr/src
4. cd /usr/src/iptables-1.*.*

after this step when i execute 5. step it gives the
make:cc : command not found
make:***: [extensions/libipt_ah_sh.o] error 127



u can see steps through this Link http://www.google.co.in/url?sa=t&ct=...U9f0gj6KHkhzTw


5. /bin/sh -c make

Last edited by er_gaurav22; 08-17-2006 at 05:45 AM.
 
Old 08-17-2006, 04:22 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 539

Rep: Reputation: 79
Hi er_gaurav22


Which Distribution are you running?

Regards,
Angel115.
 
Old 08-17-2006, 04:27 AM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Iptables has two separate components. There is the userspace 'iptables' program for creating your rules, and also the kernel space modules which provide the packet-level filtering. You will obviously need both.

You are best off using your distro's package management facilities to install the userspace, and the modules will depend on whether you use a canned distro kernel or roll your own. Either way, it is difficult to help any more specifically without knowing what distro you use, as angel115 has suggested...
 
Old 08-18-2006, 09:02 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread also has answers in duplicate http://www.linuxquestions.org/questi...d.php?t=474708.
 
Old 08-18-2006, 09:59 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I, for one, also think it is kind of cheesy that you did a wholesale edit of your post to pretty much change the entire meaning. Please post another new reply if you have new information or want to refactor your question.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install iptables-p2p Skunk_Face Fedora 5 01-12-2007 09:43 AM
install iptables hitesh_kj Linux - Software 1 03-23-2006 10:33 AM
Need help to install/configure iptables Gaucho Slackware 10 02-20-2006 01:23 AM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
iptables- new install Robert0380 Linux - Software 10 05-12-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration