Linux.com: An Introduction to IP Masquerading (Part 1 of 2)

Written By
Web Webster
Web Webster
May 17, 2000

“Now that relatively high-bandwidth Internet connections are
becoming both commonplace and inexpensive, cable modem and DSL
users wanting to put more than one computer on the Internet find
that their Internet service provider will not allow them to do so.
Typically, an ISP will grant a user a single, dynamically-allocated
IP address to be used by only one computer at the user’s home, in
order to conserve their precious pool of IP addresses.
“

“However, that one IP address can be put to much use by
employing IP masquerading. In this technique, one’s Linux box acts
as a gateway between an Internet connection and one’s other home
computers (whichever operating system they run). The other
computers are assigned “private” IP addresses which are not
routable on the Internet, and the Linux box takes the address
granted to you by your ISP. Once masquerading is working, all
traffic bound to the Internet from your home network will be sent
to your Linux box, which will translate the private IP addresses of
your local machines into the one real address from your ISP.
Traffic returning from the Internet will pass through your Linux
box, which determines the computer on your home network that will
receive the data. This way, multiple machines on your home network
can be using identical services (such as ftp), and your Linux
gateway will automatically sort which data goes where.”

“Phew! Sounds complicated, but don’t worry: we’ll break it down
into a few simple steps, and go from there.”

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.