Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2007, 09:43 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Question iptables and inetd?

What is the difference between iptables and inetd when using them as a firewall?
Old 11-20-2007, 11:13 PM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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.
Old 11-21-2007, 07:30 AM   #3
LQ Newbie
Registered: Oct 2007
Posts: 15

Rep: Reputation: 0
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...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I determine which servers in Slack 11 are monitored by inetd / inetd.conf Old_Fogie Slackware 2 11-25-2006 01:06 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
chrooting or jailing inetd or inetd started daemons ? MasterC Linux - Security 2 07-15-2003 05:28 PM
inetd lafuma Slackware 1 04-21-2003 04:15 PM
What is inetd doing? dguy Linux - Networking 7 01-25-2002 12:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration