Redhat9+ADSL+IPTABLES+DHCPD解决方案
2010-09-27 12:21:54 来源:WEB开发网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): 由于我们要在后面使用iptables,所以选择2
start this connection at boot time
do you want to start this connection at boot time?
please enter no or yes (default no): 我这里不是包月,所以选择no,如果你是包月的话就选yes
** summary of what you entered **
ethernet interface: eth1
user name: username
activate-on-demand: no
dns: do not adjust
firewalling: masquerade
user control: yes
accept these settings and adjust configuration files (y/n)? 选择yes,保存设置.
用adslsetup命令配置好ppp0后,我们在xwindows下看一下ppp0的配置
adsl3.jpg" target=_blank title=开新窗口浏览图片>adsl3.jpg" border=0 onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333">
注意这里我们把自动从提供商处获取dns信息选上,这部非常关键,否则到后面即使客户端能上网,本地服务器也看不了网页。
好了到此位置,adsl配置完成,我们用命令adsl-start来激活adsl连接
基本如果你能ping通外面的ip地址就行了,最多再用nslookup命令来测试一下
编缉推荐阅读以下文章
- 暂无相关文章
- ››RedHat Linux 9下配置DHCP服务器教程
- ››Redhat9+ADSL+IPTABLES+DHCPD解决方案
- ››RedHat公司发布RHEL5.5企业版操作系统
- ››RedHatAS3.0下高可用性集群配置
- ››Redhatadvanceserver2.1集群的安装与管理
- ››redhatAS4.2 安装集群LVS
- ››redhat linux 下安装oracle 10g 的方法
- ››Redhat Enterprise Linux磁带机简单操作
- ››RedHatAS5整合Apache和Tomcat服务器应用
- ››Redhat红帽发布升级版企业Linux 5.2平台
- ››Redhat AS5 Squid透明代理配置过程解析
- ››Redhat Linux系统配置大量IP地址的方法
更多精彩
赞助商链接