Computer Bits: Firewalling with iptables | Linux Today

Computer Bits: Firewalling with iptables

Written By
Web Webster
Web Webster
Feb 27, 2000

The reason for firewalling is obvious: We want to protect
our computer from unwanted vistors, whether they are malicious or
just curious.
Firewalls are merely a set a rules that
determine what we do with any given packet of information going to
or coming from another computer on a network: allow it to proceed,
return it with an error message, or drop it entirely.”

“My home Linux boxes, for example, provide a number of services
to my home network: telnet connections, network drive sharing via
NFS and Samba, an FTP server, and a MySQL database server. I
occasionally want to connect to the Internet, but I don’t really
want folks out there on the Net snooping around those services.
Instead of shutting down all my network services every time I fire
up the modem, I’ve written a set of firewall rules that (hopefully)
keep unwanted visitors away….”

“In many ways, iptables behaves like the older ipchains. They
both use the criteria listed above to inspect IP packets to see if
they should be allowed into, out of, or through your machine. Both
are based on the concept of rule chains, which are essentially a
series of inspection rules. Finally, both have three default
chains….”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.