Hi can u give me a simple scritp (iptables) to block all ports except 21,22,25,80,110
REgards Peter --- Kunal Shah <[EMAIL PROTECTED]> wrote: > > your ipchians is not working because > kernel module ipchains is not installed. > and you can not install ipchains module because your > > iptable module is there. > remove iptable modules from kernel with rmmod and > install ipchains modules with insmod. > then do what you want to do with ipchains. > > however, your main concern is to block all the ports > accpet some of them. you can achive it with iptables > also. > > --kunal > > On Wed, 8 May 2002, Peter Green wrote: > > > Hi all, > > > > I would like to open only ports 21,22,25,80,110 > to > > all > > all other ports should be blocked . > > can any one suggest a simple iptables script which > i > > can use for this purpose. > > > > > > also when i use ipchains -F it says as > > "this kernal not supported " but iptables works > fine > > in redhat linux 7.2. What may be the reason? > > > > > > I found a very informative link on the net about > > iptables > > > > > http://www.linuxsecurity.com/resource_files/firewalls/IPTables-Tutorial/iptables-tutorial/iptables-tutorial.html > > > > > > Regards > > Peter > > > > > > > > > > > > ===== > > --------------------------------------- > > Security is a process .NOT. a product > > --------------------------------------- > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - your guide to health and wellness > > http://health.yahoo.com > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for > download mirrors. We supply > > the hardware. You get the recognition. Email Us: > [EMAIL PROTECTED] > > _______________________________________________ > > linux-india-help mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/linux-india-help > > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for > download mirrors. We supply > the hardware. You get the recognition. Email Us: > [EMAIL PROTECTED] > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help ===== --------------------------------------- Security is a process .NOT. a product --------------------------------------- __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
