This article is tested in Red Hat Linux 9.0 and Fedora Core 10 through the server environment: Red Hat Linux 9.0 (RH Linux 7.0 or more) Client Environment: A general operating system. Hardware environment: ADSL Coarable Internet, no router, multiple switches. 10-20 machines, one network card per machine. All machines are connected to the switch, switched to ADSL. First select a machine as a server, assume that its LAN IP is 192.168.1.1 Server settings: If you are familiar with the setup, please skip to the next step: 1. Set the Coament: / sbin / adsl-setup Welcome to the ADSL Client . setup First, I will run some checks on your system to make sure the PPPoE client is installed properly ... The following DSL config was found on your system: Device: Name: ppp0 DSLppp0 Please enter the device if you want to configure the Present DSL config (default ppp0) or enter / 'n /' if you want to create a new one: (Note: Discover the installed coamental connection, enter N can create a new, the carriage return is the original Some coamental settings, if the previous system is not set up, this will not appear) Login Name Enter Your Login Name (DEFAULT XX@163.gd): (Note: Enter the User Name of the Coam) Interface Enter T Ethernet Interface Connected to the ADSL Modem for Solaris, this Is Likey to Be Something Like / dev / hme0. For Linux, IT Will Be Ethx, WHERE / 'X /' IS A Number. (DEFAULT ETH0): (Note: Enter the NIC name.
Eth0 refers to your first network card, EHT1 second, ... Default Enter you) Do you want the link to com up on Demand, or stay Up Continuously? if you want it to come up on ON . demand, enter the idle time in seconds after which the link should be dropped If you want the link to stay up permanently, enter / 'no /' (. two letters, lower-case) NOTE: Demand-activated links do not interact Well with Dynamic IP Addresses. You May Have Some Problems. Enter the demand value (Note: OK, is still disconnected, if you want to disconnect, enter Idle time, such as: Input 1200 indicates that the machine is turned off after idle for 20 minutes (1200 seconds), and the input NO indicates that it is kept connected) DNS PLEASE ENTER THE IP Address of Your ISP / 'S PRIMARY DNS Server. If Your ISP CLAIMS That / 'the server will provide dynamic DNS addresses /', enter / 'server /' here (all lower-case). If you just press enter, I will assume you know what you are doing and not modify your DNS setup. Enter the DNS Information Here: (Note: Domain Name Server, if you are dynamically acquired DNS, enter server, otherwise entering the DNS IP) Password PLEASE Enter Your Password: please re-enter Your Password: (Note: Input Co-Clearation Password) UserCtrl P Lease Enter / 'Yes /' (Two Letters, Lower-Case.) If You Want To Allow Normal User To Start OR Stop DSL Connection (Note: Whether the general user is allowed to open and hang up the unpacking) FireWalling please . choose the firewall rules to use Note that these rules are very basic you are strongly encouraged to use a more sophisticated firewall setup;. however, these will provide basic security If you are running any servers on your machine, you must choose / '. None / '
and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port. The firewall choices are: 0 - NONE: This script will not set any firewall rules You are responsible for ensuring the security of your machine You are STRONGLY recommended to use some kind of firewall rules 1 - STANDALONE:... Appropriate for a basic stand- Alone Web-Surfing Workstation 2 - Masquerade: Appropriate for a Machine Acting As An Internet Gateway for a Lan Choose a Type Of FireWall (0-2): (Note: Select firewall type .0: No firewall, 1: Do not understand 2 : The gateway uses iptables-based firewall rules.