Allow only particular machines to access

Hi!
I have a need to allow only certain IP addresses to access a machine running Red Hat Linux. I am not sure how this can be accomplished.

Thanks in advance for your help.

nua7

What kind of access?
theres a few config files you can look at like host.allow inetd.sec or xinetd.conf

I need to give access to port 1521 to only one machine. I found out a way by having two iptable rules.

iptables -A INPUT -s 148.147.172.226 -p tcp --dport 1521 -j ACCEPT
iptables -A INPUT -p tcp --dport 1521 -j DROP

Can anyone find any disadvantages using these rules.

Thanks!
nua7