免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2624 | 回复: 3
打印 上一主题 下一主题

請教,關於作nat映射端口,達到訪問lan內部ftp的問題 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-29 16:28 |只看该作者 |倒序浏览
防火牆:cisco pix 525作網關
ftp:serv-u6.0
小弟初學,自己加了幾條命令,沒效果,又檢查不出問題,所以請各位老大幫幫忙

防火牆配置如下:
Mis(config)# show run
: Saved
:
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ues9xlBmeMUUYa9x encrypted
passwd ues9xlBmeMUUYa9x encrypted
hostname Mis
domain-name cisco.com
clock timezone HKST 8
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
no names
access-list asus permit tcp host 192.168.0.65 host 210.208.217.10 eq https
access-list asus permit tcp host 192.168.0.65 host 210.208.217.10 eq www
access-list ACLOUT deny tcp host 221.224.100.200 host 192.168.0.47 eq ftp
pager lines 24
logging console debugging
mtu outside 1500
mtu inside 1500
ip address outside 221.224.100.200 255.255.255.248
ip address inside 192.168.0.254 255.255.255.0
ip verify reverse-path interface outside
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
no failover ip address outside
no failover ip address inside
pdm location 192.168.0.46 255.255.255.255 inside
pdm location 192.168.0.32 255.255.255.224 inside
pdm location 192.168.0.65 255.255.255.255 inside
pdm location 192.168.0.66 255.255.255.255 inside
pdm location 192.168.0.67 255.255.255.255 inside
pdm location 192.168.0.68 255.255.255.255 inside
pdm location 192.168.0.69 255.255.255.255 inside
pdm location 192.168.0.74 255.255.255.255 inside
pdm location 192.168.0.87 255.255.255.255 inside
pdm location 61.141.194.0 255.255.255.0 outside
pdm location 61.144.238.0 255.255.255.0 outside
pdm location 61.155.24.0 255.255.255.0 outside
pdm location 61.218.23.106 255.255.255.255 outside
pdm location 61.220.118.10 255.255.255.255 outside
pdm location 202.104.129.0 255.255.255.0 outside
pdm location 218.17.209.0 255.255.255.0 outside
pdm location 218.18.95.0 255.255.255.0 outside
pdm location 221.4.134.75 255.255.255.255 outside
pdm location 192.168.0.112 255.255.255.255 inside
pdm location 192.168.0.60 255.255.255.255 inside
pdm location 192.168.0.47 255.255.255.255 inside
pdm location 192.168.0.91 255.255.255.255 inside
pdm location 192.168.0.108 255.255.255.255 inside
pdm location 192.168.0.152 255.255.255.255 inside
pdm location 192.168.0.59 255.255.255.255 inside
pdm location 210.208.217.10 255.255.255.255 outside
pdm location 192.168.0.73 255.255.255.255 inside
pdm location 192.168.0.49 255.255.255.255 inside
pdm location 192.168.0.147 255.255.255.255 inside
pdm location 192.168.0.161 255.255.255.255 inside
pdm location 192.168.0.160 255.255.255.255 inside
pdm location 192.168.0.163 255.255.255.255 inside
pdm location 192.168.0.115 255.255.255.255 inside
pdm location 192.168.0.116 255.255.255.255 inside
pdm location 192.168.0.159 255.255.255.255 inside
pdm location 192.168.0.62 255.255.255.255 inside
pdm location 192.168.0.86 255.255.255.255 inside
pdm location 192.168.0.162 255.255.255.255 inside
pdm location 192.168.0.90 255.255.255.255 inside
pdm location 192.16.0.41 255.255.255.255 inside
pdm location 192.168.0.41 255.255.255.255 inside
pdm location 192.168.0.79 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.0.0 255.255.255.0 0 0
static (inside,outside) tcp 221.224.100.200 www 192.168.0.47 www netmask 255.255.2
55.255 0 0
static (inside,outside) tcp 221.224.100.200 ftp 192.168.0.47 ftp netmask 255.255.2
55.255 0 0
outbound   1 permit 0.0.0.0 0.0.0.0 53 udp
outbound   1 deny 0.0.0.0 0.0.0.0 0 icmp
outbound   1 deny 192.168.0.0 255.255.255.0 8000 udp
outbound   1 deny 192.168.0.0 255.255.255.0 1080 udp
outbound   1 deny 192.168.0.0 255.255.255.0 1813 udp
outbound   1 deny 192.168.0.0 255.255.255.0 3128 udp
outbound   1 deny 192.168.0.0 255.255.255.0 0 ip
outbound   1 permit 192.168.0.66 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.69 255.255.255.255 80 tcp
outbound   1 deny 192.168.0.0 255.255.255.0 1863 tcp
outbound   1 permit 192.168.0.32 255.255.255.224 80 tcp
outbound   1 permit 192.168.0.32 255.255.255.224 443 tcp
outbound   1 permit 192.168.0.32 255.255.255.224 1863 tcp
outbound   1 permit 192.168.0.112 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.74 255.255.255.255 0 tcp
outbound   1 deny 192.168.0.0 255.255.255.0 443 tcp
outbound   1 permit 192.168.0.65 255.255.255.255 443 tcp
outbound   1 permit 192.168.0.0 255.255.255.0 25 tcp
outbound   1 permit 192.168.0.0 255.255.255.0 110 tcp
outbound   1 permit 192.168.0.67 255.255.255.255 443 tcp
outbound   1 permit 192.168.0.65 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.47 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.87 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.49 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.46 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.161 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.152 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.115 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.116 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.159 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.62 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.162 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.90 255.255.255.255 80 tcp
outbound   1 permit 192.168.0.254 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.41 255.255.255.255 0 tcp
outbound   1 permit 192.168.0.79 255.255.255.255 80 tcp
outbound   2 permit 61.218.23.106 255.255.255.255 25 tcp
outbound   2 permit 61.218.23.106 255.255.255.255 110 tcp
outbound   2 permit 61.220.118.10 255.255.255.255 110 tcp
outbound   2 permit 61.220.118.10 255.255.255.255 25 tcp
outbound   2 permit 221.4.134.75 255.255.255.255 25 tcp
outbound   2 permit 221.4.134.75 255.255.255.255 110 tcp
outbound   2 deny 61.141.194.0 255.255.255.0 0 ip
outbound   2 deny 61.144.238.0 255.255.255.0 0 ip
outbound   2 deny 202.104.129.0 255.255.255.0 0 ip
outbound   2 deny 218.17.209.0 255.255.255.0 0 ip
outbound   2 deny 218.18.95.0 255.255.255.0 0 ip
apply (inside) 1 outgoing_src
apply (inside) 2 outgoing_dest
route outside 0.0.0.0 0.0.0.0 221.224.100.200 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 61.155.24.0 255.255.255.0 outside
http 192.168.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 2
terminal width 80
Cryptochecksum:4a4dbe3e8273f253bc292df8d0ff5d15
: end

论坛徽章:
0
2 [报告]
发表于 2005-03-30 10:52 |只看该作者

請教,關於作nat映射端口,達到訪問lan內部ftp的問題

頂到高手出現.........

论坛徽章:
0
3 [报告]
发表于 2005-03-31 09:11 |只看该作者

請教,關於作nat映射端口,達到訪問lan內部ftp的問題

在頂

论坛徽章:
0
4 [报告]
发表于 2005-10-12 18:08 |只看该作者

請教,關於作nat映射端口,達到訪問lan內部ftp的問題

conduit permit tcp host 221.224.100.200  eq ftp any
conduit permit tcp host 221.224.100.200 www any
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP