LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2011, 11:25 AM   #1
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Rep: Reputation: 3
Debian 5.0.6 Iptables modules installation - VMware


Hello.


I use Debian 5.0.6 32-bit through VMware workstation installed on my Windows Server 2003. I just simply installed it from CD-1 and I use Directadmin on that.


I need a lot of iptables commands for blocking but I keep getting missing module errors on that one, I did lsmod | grep -i iptables to see there are no modules. It should have been installed by the disc image but I don't know why it didn't. So I now want to know how to get those modules required by iptables.

I'm a noob at Linux so some tutorial will be good if anyone suggests re-compiling.
 
Old 03-03-2011, 08:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by AsadMoeen View Post
I did lsmod | grep -i iptables to see there are no modules.
Try 'grep ip /proc/modules' instead as most related LKM's start with "ipt_" or "ip_".
 
Old 03-04-2011, 03:59 AM   #3
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Hello.

That would give me:


Quote:
MyServer:~# grep ip /proc/modules
iptable_mangle 2688 0 - Live 0xf8b6a000
nf_conntrack_ipv4 12268 0 - Live 0xf8b6e000
ipt_REJECT 2784 0 - Live 0xf89d0000
ipt_LOG 5028 0 - Live 0xf89a3000
xt_multiport 2816 0 - Live 0xf89be000
nf_conntrack 55540 5 xt_connlimit,nf_conntrack_ftp,nf_conntrack_ipv4,xt_conntrack,xt_state, Live 0xf8b79000
iptable_filter 2624 1 - Live 0xf897a000
ip_tables 10160 2 iptable_mangle,iptable_filter, Live 0xf8982000
x_tables 13284 9 xt_connlimit,xt_tcpudp,xt_conntrack,ipt_REJECT,ipt_LOG,xt_limit,xt_multiport,xt_state,ip_tables, Live 0xf89c8000
ipv6 235396 22 - Live 0xf8bb4000
 
Old 03-04-2011, 04:33 AM   #4
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Ok it works now I was using a wrong command. 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
Xorg modules, lsmod and vmware McCloud Debian 5 03-19-2007 12:00 PM
Compiling lirc modules for a myth TV installation in Debian yong_sa Debian 1 07-15-2006 11:24 PM
vmware-config.pl & kernel modules mythief Linux - Software 13 01-08-2005 01:53 PM
VMWare Modules InSane103 Linux - Software 2 09-20-2004 08:42 PM
vmware-installation-problem under kernel 2.4.4 (debian woody) indy Linux - Software 0 07-25-2001 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:25 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