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

RE: Restrict access to a particular server.

You want something like this:

Iptables -A INPUT -s machine_A -p tcp --dport 1521 -j ACCEPT

This rule means allow access to port 1521 from IP machine_A.
Of course this rule alone will not prevent all-and-sundry from
Connecting to the server on any port, so you'll need to add
Many more rules to secure your server.


-----Original Message-----
From: redhat-list-bounces redhat com
[mailto:redhat-list-bounces redhat com] On Behalf Of Rohit khaladkar
Sent: Monday, 20 October 2008 8:10 p.m.
To: General Red Hat Linux discussion list
Subject: Restrict access to a particular server.

Hi All,I have two machines with Red Hat linux 5.2 installed of which one
is a database server running Oracle 10.0.4 on it. I need a iptable rule
which would make sure that only the other machine would have access to

For eg : If I have two macihnes, machine A and machine B, of which
machine B is a database server, can I setup a iptable rule on machine B
, which would allow access to the database only by machine A.

Please help.

Rohit Khaladkar
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.

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