Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-02-2011, 11:25 AM
|
#1
|
Member
Registered: Jun 2010
Posts: 160
Rep:
|
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.
|
|
|
03-03-2011, 08:32 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by AsadMoeen
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_".
|
|
|
03-04-2011, 03:59 AM
|
#3
|
Member
Registered: Jun 2010
Posts: 160
Original Poster
Rep:
|
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
|
|
|
|
03-04-2011, 04:33 AM
|
#4
|
Member
Registered: Jun 2010
Posts: 160
Original Poster
Rep:
|
Ok it works now I was using a wrong command. Thanks.
|
|
|
All times are GMT -5. The time now is 05:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|