My点评网 - 中国IT产业点评门户 | 将IT产业透明化! | 加入收藏 
MY(我)点评网
欢迎访客访问
[ 登录 | 注册:建论坛/写日志/说评论 ]
会员控制台 | 群组 | (BLOG)资讯 | 论坛
 
大众点评网
导行:
IDC 广告联盟 域名 建站CMS 网络游戏 投资网站 潜质域名 IT企业 电子商务 SEO/Windows7 Script 系统 程序 电脑 交流报 安全 论坛 游戏

【硬件】How to set DMZ in pix 501 ?

网络安全详细资料....
首页> 群组> IDC商群组> 网络安全论坛
返回>网络安全论坛 2009-4-29 20:23:31 来自:gl5529004 快速回复 添加新话题
主题内容:How to set DMZ in pix 501 ?

小弟想架一个web server在DMZ中,
有人知详细的command吗?
新手发问,谢谢

底下是我好几年前做的,是初步介绍pix设定的步骤啦
分享给你哟~
不过也不知道对不对合不合你用
好几年没摸cisco的东西了 :|||:
(有错不要告诉我了 我可能不太会碰到了啦 :corkysm: )
--------------------
<<Step by step for cisco PIX Firewall Configurations>>
<step1-before you begin>

.draw down the netwrok architecture
.list security policy
.configure network routing
.check for all
.put pix into network architecture
.demo lab with the security policy


<step2-installing the pix firewall>



<step3-get a console terminal>
.9600/8/none/1/hardware



<step4-start configuring pix firewall>

firewall>enable /进入设定状态
firewall>password /键入密码
firewall#>configuring terminal /进入terminal设定状态
firewall(config)#> /提示改成terminal设定状态了

^^^可以设定PIX Firewall了
<step5-identify each interface>

.name interfaces. /首先为每一个介面命名
firewall(config)#>
nameif etherner0 outside security0 /outside介面
nameif etherner1 inside security100 /inside介面
nameif ethernet2 perimeter security50 /perimeter介面

.identify IP address for pix firewall. /设定介面的IP
firewall(config)#>
ip address outside 163.29.129.252 255.255.255.128 /outside IP
ip address inside 192.168.1.3 255.255.255.0 /inside IP
interface e0 auto /enable e0
interface e1 auto /enable e1
interface e2 auto /enable e2


<step6-let users start connections> /设定一般的NAT对应(for client)
/security高存取低使用
.associate a network with a pool of global IP address./先设定要做NAT对应的内部IP
firewall(config)#> /此NAT对应编号使用nat 1
nat(inside) 1 0.0.0.0 0.0.0.0 0 0 /此为内部IP全部作NAT对应
nat(inside) 1 192.168.1.0 255.255.255.0 /此为内部IP范围192.168.1.0这个class c 作NAT对应

.create entries from a pool of global address. /再设定要做NAT对应的外部IP pool群
firewall(config)#>
global(outside) 1 163.29.129.129-163.29.129.250 /外部要给对应的pool群IP范围
netmask 255.255.255.128 /此为用163.29.129.129~250给内部IP对应

^^^Dynamic NAT完成(nat及global要并用)
<step7-create a default route>

.static route for specified interface. /设定特定介面default route
firewall(config)#>
route outside 0.0.0.0 0.0.0.0 163.29.129.254 1 /此为介面一一律以163.29.129.254为gateway


<step8-permit ping access>

firewall(config)#> /可设定是否允许使用ping指令
conduit permit icmp any any /此为允许内外部都能用ping指令


^^^第一阶段完成,使用show指令及ping PIX各介面(及从PIX ping router)测试一下!正常才能继续下一步骤!
^^^以上由security高的存取security低防火墙设定的部分已完成,接下来是security低存取security高的部分

<step9-add server access>

.map local IP address to a global IP address. /设定特定的NAT对应(for server)
firewall(config)#> /security低存取高使用
static(internal,external) global_ip local_ip
static(inside,outside) 163.29.129.170 192.168.1.1 netmask 255.255.255.255
static(inside,outside) 163.29.129.170 192.168.1.2 netmask 255.255.255.255
static(inside,outside) 163.29.129.170 192.168.1.4 netmask 255.255.255.255

.add conduit through firewall for incoming connections./为特定的service留"通道"
firewall(config)#>
conduit permit tcp host 163.29.129.170 eq www any /留Web server163.29.129.170的通道
conduit permit tcp host 163.29.129.171 eq smtp any /留送信mail server163.29.129.171的通道
conduit permit tcp host 163.29.129.171 eq pop3 any /留收信mail server163.29.129.171的通道
conduit permit tcp host 163.29.129.171 eq 23 host 203.74.223.38 /让203.74.223.38可以Telnet到163.29.129.171

^^^static NAT完成(static及conduit要并用)
^^^特定server可以正常对外运作
^^^注意!!!某些service的conduit要开两条才能正常运作(通常一条TCP一条UDP)
.enable,change a pix firewall application protocol feature.
firewall(config)#> /可更改service使用的port,以策安全!
fixup protocol ftp 21
fixup protocol http 80
fixup protocol smtp 25
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol sqlnet 1521


<step10-create access lists>

.create an access list for controlling Internet use. /设定一些packet filter的动作
firewall(config)#>
outbound 1 deny 0.0.0.0 0.0.0.0 tcp
outbound 1 permit 192.168.1.1 255.255.255.255
outbound 1 permit 192.168.1.11 255.255.255.255
outbound 1 permit 192.168.1.241 255.255.255.255

.apply outbound access list to IP address. /将上述的packet filter指定到介面(inside or outside)
firewall(config)#> /并订定检查的是Destnation or Source IP/port
apply(inside) 1 outgoing_src
apply(inside) 10 outgoing_dest
apply(outside) 11 outgoing_src
apply(outside) 21 outgoing_dest

^^^增加了规划的security policy(outbound及apply要并用)
<step11-add telnet console access>

.allow to the pix console over telnet /设定可以Telnet上PIX Firewall的IP及密码
firewall(config)#>
telnet 192.168.1.11 255.255.255.255
passwd xxxxxxx

^^^为MIS留一条方便之门
<step12-check the configuration>

.view the curring configuration /再次确认设定是否正确
firewall#>write terminal


<step13-store the image in flash memory and reboot>

.write to memory and relord /存到FLASH内存中,并重开机
firewall#>write memory
firewall#>reload

^^^别忘了此步骤否则以上步骤不会生效!!!

<Troubleshooting:> /一些可用来看设定的指令
.show ip address
.show nat
.show global
.show route




<Advanced configuration>


.enable syslog /启动syslog错误通知

1.enable the syslog facility /进入syslog设定状态
>logging on
2.specify a host to receive the syslog message /设定要接收错误通知的主机
>logging host inside ip_address
3.set syslog message facility to 20(default) /设定讯息的笔数
>logging facility 20
4.instruct to send message /启动错误通知
>logging trap warnings
5.test it /测试错误通知是否正常
>show logging


.add user authentication /使用者认证

1.for inbound authentication,static and conduit statements required to
permit outside hosts to access servers on the inside network.
/用static和conduit允许outside host access
2.specify which server handles authenticaton or authorization with the
radius-server or the tacacs-server commands.
/以radius-server,tacacs-server指定用来做
/认证的server
3.enable authentication with the aaa authentication command.
/用aaa authentication来启动认证动作的server
>aaa authorization any outbound 0 0 0 0 tacacs+
>aaa authorization any inbound 0 0 0 0 tacacs+
4.enable authorization with the aaa authorization command.
/用aaa authorization来启动认证动作
>aaa enthorization any outbound 0 0 0 0
>aaa enthorization any inbound 0 0 0 0
501只有两个Interface吧!一个对内,一个对外...

  暂无评论,欢迎您成为第一个评论者!(仅开放注册登录会员)


 最新相关内容 10秒,快速注册会员建论坛/写日志/说评论
·ESET 如何把文件案新增不会被挡下
·网络线长度与品质
·关于网络线长度与品质
·如何将工具列完全隐藏
·T91转文件3GP_Converter下载点
·apple(苹果)电脑即时通 22点!
·为什么使用外挂的要被称为狗?
·更新IE8后许多网页都无法开启,求救呀XD
·帮忙+个即时 急需~~~~
  你的回应... [仅对登录会员开放,请文明参与,注册会员能写日志、说评论、建论坛自己当版主]
  回应一下: 【硬件】How to set DMZ in pix 501 ?
 
  请勿发广告或垃圾信息,请为提高内容质量做出贡献
  [Ctrl+Enter 快速回复]

返回网络安全论坛


来自>>IDC商群组

简介:这是一个以网络技术交流为中心的论坛,以电脑技术、网络安全等为话题.
论坛生日:2009/4/29建立
主题: 【硬件】How to set DMZ in pix 501 ?
创始人版主:admin查看>>
更多分类 >返网络安全论坛首页
最新热门推荐帖子....
RJ45问题!(急) [gl5529004]
请问有没有人用过 MDSL ? [gl5529004]
Dlink 的IP分享器DI-704无法上东森cable modem [gl5529004]
d-link DFE2624 24PORT HUB评价如何? [gl5529004]
有人用这XRouter Pro MIH-130A这部吗? [gl5529004]
print server ?? [gl5529004]
3 COM和Intel的网卡,那个好? [gl5529004]
哪一牌的网络卡比较好 [gl5529004]
我买了smc大约一个月..似乎被操坏了.. [gl5529004]
请问ZOT IH400用在东森双向? [gl5529004]
【闲聊】1000MB的网络线接法是不是与100MB一样? [gl5529004]
第四台Cable线要接USB电视盒,是否有无线传输的solution? [gl5529004]
【闲聊】请问大家,一台最好的企业用VOIP BOX应该具备哪些功能? [gl5529004]
区网传速度极慢的问题 [gl5529004]
请问闲置的cisco 1720可以怎样利用? [gl5529004]
【求助】请问压线钳的头何处买?有图 [gl5529004]
【求助】请推荐品质好的switch hub [gl5529004]
探讨Qos频宽管理器-解决塞车,抢频宽,取代IP分享器 [gl5529004]
【求助】m0n0wall如何远端登入? [gl5529004]
关於ASUS1720系列的server [gl5529004]

  关于我们 需要帮助 广告服务 合作伙伴 中国IT产业大众点评门户
CopyRight 2008 © My点评网 www.MyDianPing.com
粤ICP备08105915号
  My点评网简介
用户协议 隐私声明
联系方式 建议/反馈
常见问题
忘记了密码
联系我们的客服人员
联系方式
广告投放
网站地图(SiteMap)
网站合作
投资/融资
友情链接/战略伙伴