Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,all
I really want to know in redhat 7.1,how many places can I define rules to ban some ip to access my service?
Actually,I have a database service running on my linux box and it can only be accessed by the machines in the same subnet.
I do check my hosts.allow file and sure that it's fine.
And I stop ipchains and iptables.
I also check xinetd but it's a default setting there,in my understanding,xinetd is just used to control some standard service of the system like ftp,telnet.I don't know for a database service started manually,should I add a configure file there.
Besides the three places,any other files can control the ip access?
Assume that the upper level firewall is fine for any connection to my port.
Thank you so much for your reply.
hi,it's db2 service listenning on port 50002 and 1678.
Actually,I can access the port in my subnet,say 126.126.10.X,but I can't access it from 126.126.X.X.I don't think it's the upper level firewall's restrition though.So wanna to check what's wrong in my linux box.
hmm,I think that's not I want.
Actually my client machine can access the http service running on the same server of the db2 service.But just can't connet to the db2 service.wierd,huh?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.