![]() |
how to install iptables on ubuntu-8.0 and kernel-2.6.24
Hello sir,
i have tried to install iptables-1.3.6.tar.bz2 and than i used tar command to unzip this package. when i used make command than these errors are coming: (1) renuravi@renuravi-desktop:/usr/local/src/iptables-1.3.6$ sudo make KERNEL_DIR=/lib/modules/2.6.24-generic [sudo] password for renuravi: [: 1: /lib/modules/2.6.24-generic/include/asm: unexpected operator Making dependencies: please wait... [: 1: /lib/modules/2.6.24-generic/include/asm: unexpected operator Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h. Try 'make clean'. -e Please try `make KERNEL_DIR=path-to-correct-kernel'. Unable to resolve dependency on linux/netfilter_ipv4/ip_nat_rule.h. Try 'make clean'. -e Please try `make KERNEL_DIR=path-to-correct-kernel'. Extensions found:[/COLOR][/COLOR][/COLOR] (2) renuravi@renuravi-desktop:/usr/local/src/iptables-1.3.6$ sudo make KERNEL_DIR=/usr/src/linux-headers-2.6.24-19 [: 1: /usr/src/linux-headers-2.6.24-19/include/asm: unexpected operator Making dependencies: please wait... [: 1: /usr/src/linux-headers-2.6.24-19/include/asm: unexpected operator Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h. Try 'make clean'. Unable to resolve dependency on linux/netfilter_ipv4/ip_nat_rule.h. Try 'make clean'. Extensions found: IPv4:connbytes IPv4:dccp IPv4:quota IPv4:recent IPv4:string IPv6:esp IPv6:REJECT In (2) ,i gave kernel path "/usr/src/linux-headers-2.6.24-19" so should i assume that this is my kernel path? i m confuse since most of time kernel stay in /usr/src/linux. and plz tell me how to resolve other problems. is my methed right to install iptables ? if not, plz send me correct process to install iptables. my system os is-- ubuntu-8.0 my kernel version is -- kernel-2.6.24-19 Thank you... |
I believe Ubuntu comes with iptables by default. If you don't have it, you can install it by running this command in a terminal:
sudo apt-get install iptables (alternatively, open System->Administration->Synaptic Package Manager and search for iptables) |
How to install IPtables in ubumtu?
I have setup an the squid and squidguard but I need the bandwidth limiter and the dhcp hosting how will I setup in ubuntu...
|
Quote:
|
| All times are GMT -5. The time now is 02:07 PM. |