天天看点

建行防火墙配置

背景:防火墙内网IP为10.65.156.211外网IP为172.17.1.2。内网服务器10.65.156.21镜向到外网为172.17.1.21,并只允许访问该服务器的ftp,1080端口。

PIX Version 6.3(4)

interface ethernet0 auto

interface ethernet1 auto

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password tsjKg7JHkl3qMaXK encrypted

passwd tsjKg7JHkl3qMaXK encrypted

hostname pixfirewall

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

names

pager lines 24

icmp permit any outside

mtu outside 1500

mtu inside 1500

ip address outside 172.17.1.2 255.255.255.0

ip address inside 10.65.156.211 255.255.255.0

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 history enable

arp timeout 14400

global (outside) 1 172.17.1.10 netmask 255.255.255.0

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

alias (inside) 172.17.1.21 10.65.156.21 255.255.255.255

static (inside,outside) 172.17.1.21 10.65.156.21 netmask255.255.255.255 0 0

conduit permit tcp host 172.17.1.21 eq ftp any

conduit permit tcp host 172.17.1.21 eq ftp-data any

conduit permit tcp host 172.17.1.21 eq 1080 any

conduit permit icmp any any

route outside 0.0.0.0 0.0.0.0 172.17.1.1 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00h225 1:00:00

timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server TACACS+ max-failed-attempts 3

aaa-server TACACS+ deadtime 10

aaa-server RADIUS protocol radius

aaa-server RADIUS max-failed-attempts 3

aaa-server RADIUS deadtime 10

aaa-server LOCAL protocol local

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

telnet 10.65.156.126 255.255.255.255 inside

telnet 10.65.156.21 255.255.255.255 inside

telnet timeout 5

ssh timeout 5

console timeout 0

terminal width 80

Cryptochecksum:7f40a558f94c8c0bb9854684a2d0a8a3

: end

继续阅读