LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   iptables and inetd? (https://www.linuxquestions.org/questions/linux-newbie-8/iptables-and-inetd-601288/)

newtothis 11-20-2007 09:43 PM

iptables and inetd?
 
What is the difference between iptables and inetd when using them as a firewall?

blackhole54 11-20-2007 11:13 PM

Inetd isn't a firewall. It controls a certain set of services which it starts up on an "as needed" basis. You can control which of these services it will actually allow to start. It is generally a good security practice to not allow services you don't need. For example, if you don't need telnet, then don't allow inetd to start it. On the other hand, iptables sets up your actual firewall. The firewall can actually block incoming packets. So say you need telnet for LAN connections but you don't want anybody from outside the LAN getting access to it. You can block those connection attempts at the firewall. Some services can also use tcpwrappers or some other method to control access. But the firewall can prevent the packets from getting to the service in the first place.

Hope this helps.

jaseka 11-21-2007 07:30 AM

Inetd is network based service contains telnet, pure-ftp, qpopper

iptables is linux software firewall used to restrict in bount, out bound connections like ftp telnet ssh etc...


All times are GMT -5. The time now is 04:48 AM.