RE: Iptables configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Padiyath
Sreekumaran
Sent: Friday, April 08, 2005 9:41 AM
To: redhat-list@xxxxxxxxxx
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@xxxxxx
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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux