WEB开发网
开发学院操作系统windows 2008 Redhat9+ADSL+IPTABLES+DHCPD解决方案 阅读

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 t

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命令来测试一下

编缉推荐阅读以下文章

  • 暂无相关文章

上一页  1 2 3 4 5 6  下一页

Tags:Redhat ADSL IPTABLES

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接