Всем привет!
Есть pix 515Einside 192.168.0.253
outside 172.30.24.21
Хочется сделать port redirection c внешнего адреса 172.30.24.23 порт 80 на внутренний адрес 192.168.0.11 на порт 8080
Для этого в прописываю в конфиге:
static (inside,outside) tcp 172.30.24.23 www 192.168.0.11 8080 netmask 255.255.255.255 0 0
И...ни хрена не работает. Так же пробовал:
static (inside,outside) tcp interface www 192.168.0.11 8080 netmask 255.255.255.255 0 0
То же самое - не работает. Connection timeout. Может кто подскажет в чем дело.
Заранее спасибо.
Конфиг:
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XXXXXXXXXXXX encrypted
passwd XXXXXXXXX encrypted
hostname pix
firewall
domain-name test.com
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
object-group service smtp tcp
port-object eq smtp
port-object eq pop3
port-object eq 995
object-group service test tcp
port-object eq 8080
port-object eq www
access-list 100 permit ip any any
access-list outside_access_in permit icmp any any echo-reply
access-list outside_access_in permit icmp any any traceroute
access-list outside_access_in permit icmp any any unreachable
access-list outside_access_in permit icmp any any time-exceeded
access-list outside_access_in permit icmp any any echo
access-list outside_access_in permit tcp any host 172.30.24.22 object-group smtp log 4
pager lines 24
logging on
logging timestamp
logging buffered debugging
logging trap warnings
logging host outside 172.30.30.3
mtu outside 1500
mtu inside 1500
ip address outside 172.30.24.21 255.255.255.0
ip address inside 192.168.0.253 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
no pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp 172.30.24.23 www 192.168.0.11 8080 netmask 255.255.255.255 0 0
static (inside,outside) 172.30.24.22 192.168.0.10 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
access-group 100 in interface inside
route outside 0.0.0.0 0.0.0.0 172.30.24.254 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
ntp server 200.0.1.1 source outside
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
vpngroup vpn3000 idle-time 1800
telnet 192.168.0.10 255.255.255.255 inside
telnet timeout 5
ssh 172.30.24.5 255.255.255.255 outside
ssh timeout 5
console timeout 0
dhcpd address 192.168.0.100-192.168.0.200 inside
dhcpd dns 172.30.30.1 200.0.1.1
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain paragon-software.com
dhcpd enable inside
terminal width 120
Cryptochecksum:80cbb07961d628fa667bc2ff69ff923c
: end