RedHat9 provides solutions for ADSL sharing Internet access

xiaoxiao2021-03-06  111

RedHat9 offer ADSL Internet sharing solutions Author: curson /2004.09.04 open question nonsense: I did not do succeed in linux3.0 in, I do not know what the reasons are, in so doing 9, success can share Internet access, other machines. The default gateway, can be any of the two network cards of this machine with the Internet, I have tried it to be successful !!! First, the operating environment: Make sure there are two network cards on your machine, all good Different, this is better to recognize the same network card with the same network card. When I did it, the company bought the same network card, let me have a lot of things. However, it is the same. Second, installation preparation I first entered the graphical operation interface (I can also under the text), first set the two network cards first, each block set a different IP. ** One piece is for the intranet, the other is the external network, which is different from Windows, and Win is virtualized a block. Third, set the dialing method 1: You can build a dial called PPP0 in the just network, enter your application account and password according to the prompt. Method 2: Start a terminal, input # ADSL-SETUP is then some English, if you can understand English, you should understand. 1. Enter your login 2, set you the block dial, the default is Eth03, here you can use it. You can use it. You can use DNS5, then enter a DNS6 you can use, enter your Login password, remember to have two 7, next, what level of firewall is used, you can use 0, you can 8, ok, finally go to the last step, I saw the information you just entered, if If there is no error, you can press Y. Set it until now, now you can restart the network service online, you can have our goal to let everyone go online, this machine is used to bring everyone, so you have to look down, so you will succeed. Fourth, set the sharing in /etc/rc.d/rc.local to add as follows: Echo 1> / proc / sys / net / ipv4 / ip_forward iptables -t nat -a postrouting -s 192.168.0.0/24 -o ppp0 - J Masquerade restarts the machine. OK is OK. If you are not successful, please add a # number before the last sentence in this file, then restart it, restart it (there is no success in 3.0, it is possible)

转载请注明原文地址:https://www.9cbs.com/read-104892.html

New Post(0)