Allow only particular machines to access


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Allow only particular machines to access
# 1  
Old 11-17-2008
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
# 2  
Old 11-17-2008
What kind of access?
theres a few config files you can look at like host.allow inetd.sec or xinetd.conf
# 3  
Old 11-18-2008
I need to give access to port 1521 to only one machine. I found out a way by having two iptable rules.

Code:
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Proxy Server

How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here, :) I would like to install a proxy server on Linux server to perform solely to control the access of Web server. In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server. I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies

2. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

3. IP Networking

Does my provider limit my internet access or somesites access?

Hi Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies

4. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

5. HP-UX

Windows and Linux OS for HP-UX machines

Hi All, I'm not sure if this has been posted before. Anyone knows a site how to do a hardware check (ex. ioscan) on an HP-UX machine that runs in Linux,Solaris and Windows? I'm checking the docs.hp.com and it gives me HP-UX stuff. does HP even supports such highlevel commands we use on HP-UX OS?... (2 Replies)
Discussion started by: grumash
2 Replies

6. UNIX for Dummies Questions & Answers

switching between machines

I work for a local authority, and have been asked to extend a project I recently worked on currently there are two (2) menus in operation each menu allows us to allow or deny access to users the problem the menus are on seperate machines (Iwant to make these menus sub menus) I want to... (1 Reply)
Discussion started by: w33man
1 Replies

7. Linux

My e-Machines desktop

processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Celeron(R) CPU 2.20GHz stepping : 7 cpu MHz : 2192.913 cache size : 8 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug ... (2 Replies)
Discussion started by: WABonnett
2 Replies

8. UNIX for Dummies Questions & Answers

compatibilty with MAXDATA machines

hi, I'm thinking of buying a Maxdata laptop 3100x. Only problem is that I'll need to run LINUX on it, and I've been warned that some machines don't run UNIX due to problems with their graphics cards. I contacted Maxdata, who say they've never tested their machines for UNIX-compatibility, which... (1 Reply)
Discussion started by: perturbed
1 Replies

9. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
Login or Register to Ask a Question