Chapter 15. Setting Up an Internet Connection

This chapter demonstrates how to connect CentOS to any TCP/IP-based network, such as the Internet, a private LAN, or a company WAN. The differences in how you connect have more to do with the network medium you use (i.e., telephone lines, LAN router, etc.) than they do with whether you are connecting to the public Internet or a company's private network.

Connections to the Internet described in this chapter include a simple dial-up connection from your own Linux system. The most popular protocol for making dial-up connections to the Internet is the Point-to-Point Protocol (PPP). It also builds on the procedures in Chapter 14 for creating your own local area network (LAN) by teaching you how to connect your LAN to the Internet.

This chapter first provides an overview of the structure of the Internet, including descriptions of domains, routing, and proxy services. It then discusses how to connect your Linux system to the Internet using PPP dial-up connections. For those who want to connect a LAN to the Internet, it describes how to use Linux as a router and set it up to do IP masquerading to protect your private LAN addresses. Finally, it describes how to configure Linux as a proxy server, ...

Get CentOS Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.