troubleshooting Question

PIX 501: Unable to forward ports.

Avatar of Ship2Save
Ship2Save asked on
Cisco
9 Comments1 Solution559 ViewsLast Modified:
Hi,

I have been trying to configure the Cisco PIX 501 for the past couple of days to redirect a few ports and have been unsuccessful so far.

I have two machines which act as the following:

192.168.2.12 = Exchange
192.168.2.13 = Webserver, FTP, SQL Server, DNS

Thus I have the following services which need to be redirected accordingly:

SMTP      TCP      25      192.168.2.12
POP      TCP      110      192.168.2.12
IMAP      TCP      143      192.168.2.12
HTTPS      TCP      443      192.168.2.12

FTP      TCP      21      192.168.2.13
HTTP      TCP      80      192.168.2.13
DNS      UDP      53      192.168.2.13
SQL      TCP      1435      192.168.2.13

Below is the PIX configuration.

I am not sure what else I'm missing. Please, any help would be highly appreciated.

Thanks.
Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.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 12-TCP tcp 
  port-object range imap4 imap4 
  port-object eq pop3 
  port-object eq https 
  port-object eq smtp 
object-group service 13-TCP tcp 
  port-object eq www 
  port-object range 1435 1435 
  port-object eq ftp 
object-group service 13-UDP udp 
  port-object eq domain 
access-list outside_access_in permit tcp any any object-group 12-TCP 
access-list outside_access_in permit tcp any any object-group 13-TCP 
access-list outside_access_in permit udp any any object-group 13-UDP 
access-list outside_access_in permit tcp any any 
access-list outside_access_in permit icmp any any 
pager lines 24
logging on
mtu outside 1500
mtu inside 1500
ip address outside pppoe setroute
ip address inside 192.168.2.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.2.13 255.255.255.255 inside
pdm location 192.168.2.12 255.255.255.255 inside
pdm logging informational 100
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) udp 76.65.246.142 domain 192.168.2.13 domain netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 www 192.168.2.13 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 ftp 192.168.2.13 ftp netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 1435 192.168.2.13 1435 netmask 255.255.255.255 0 0 
static (inside,outside) tcp 75.65.246.142 https 192.168.2.12 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 smtp 192.168.2.12 smtp netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 pop3 192.168.2.12 pop3 netmask 255.255.255.255 0 0 
static (inside,outside) tcp 76.65.246.142 imap4 192.168.2.12 imap4 netmask 255.255.255.255 0 0 
access-group outside_access_in in interface outside
timeout xlate 0:05: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 sip-disconnect 0:02:00 sip-invite 0:03: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 
http server enable
http 192.168.2.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group pppoe_group request dialout pppoe
vpdn group pppoe_group localname XXXXX
vpdn group pppoe_group ppp authentication pap
vpdn username XXXXX password ********* store-local
dhcpd address 192.168.2.2-192.168.2.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:ab3f132f99917a6974cf6f514e026ce7
: end
[OK]
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros