Iptables configuration

Ryan Golhar golharam at umdnj.edu
Fri Apr 8 14:09:16 UTC 2005


We do essentially the same thing here.  Here is what your firewall rule
would look like:

-A INPUT -p tcp -m tcp -s 129.129.0.0/16 --dport 22 -j ACCEPT


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Padiyath
Sreekumaran
Sent: Friday, April 08, 2005 9:41 AM
To: redhat-list at redhat.com
Subject: Iptables configuration


  
   Hello,
   I saw that a number of ssh login attepts has been done on my linux
   machine without success. I want to configure the firewall on the
machine.
   I have taken over this machine from another person. OS version is
2.6.4-52-smp.
   How I have to configure the machine so that users have access only
from
129.129.*.*
   and only ssh access. One should be able to use NFS inside this
network. I know that
   I can use host.deny and host.allow files for user access. But I want
to use
   iptables sw for this. Any help is appreciated. I would like to have
an example 
   if possible.This machine is a production machine. I cannot do any
tests on the 
   machine.

   With regards,
    Kumar

   

------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath at psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list