Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pix 506e port forwarding not working. 1

Status
Not open for further replies.

relar

Technical User
Oct 7, 2008
3
I am new to this forum, and relatively new to cisco products, so forgive me if I make newbie mistakes.
I have a pix 506e setup as my gateway, and have assigned an internet routable address on the outside interface, and my private network on the inside interface. internet access is working flawlessly. when I try to forward ports from the outside interface to inside hosts, the router acts as if the forwards don't exist. Here is my config. any help would be greatly appreciated.

: Saved
: Written by enable_15 at 09:34:28.864 EDT Tue Oct 7 2008
PIX Version 6.3(5)
interface ethernet0 100full
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
clock timezone EST -5
clock summer-time EDT recurring
no fixup protocol dns
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol icmp error
fixup protocol pptp 1723
fixup protocol pptp 3389
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 inbound permit icmp any any
access-list inbound permit tcp any host x.x.x.x eq smtp
access-list inbound permit tcp any host x.x.x.x eq https
access-list inbound permit tcp any host x.x.x.x eq domain
access-list inbound permit udp any host x.x.x.x eq domain
access-list inbound permit tcp any host x.x.x.x eq 3389
pager lines 24
logging on
icmp permit any outside
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside x.x.x.x 255.255.255.248
ip address inside 10.0.0.252 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.0.0.0 255.255.255.0 inside
pdm location 10.0.0.0 255.0.0.0 inside
pdm location 10.0.0.1 255.255.255.255 inside
pdm location 10.0.0.7 255.255.255.255 inside
pdm location 10.0.0.10 255.255.255.255 inside
pdm location 10.0.0.50 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 10.0.0.0 255.255.255.0 0 0
static (inside,outside) tcp x.x.x.x smtp 10.0.0.10 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp x.x.x.x https 10.0.0.10 https netmask 255.255.255.255 0 0
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 x.x.x.y 1
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 10.0.0.0 255.255.255.0 inside
http 10.0.0.0 255.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
sysopt connection permit-l2tp
telnet 10.0.0.0 255.255.255.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 15
management-access inside
console timeout 0
terminal width 80
: end

I have removed password/username statements and replaced outside ip address with a mask. thanks.
 
Well your ACL's and your statics don't match up

access-list inbound permit tcp any host x.x.x.x eq smtp
access-list inbound permit tcp any host x.x.x.x eq https
access-list inbound permit tcp any host x.x.x.x eq domain
access-list inbound permit udp any host x.x.x.x eq domain
access-list inbound permit tcp any host x.x.x.x eq 3389

static (inside,outside) tcp x.x.x.x smtp 10.0.0.10 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp x.x.x.x https 10.0.0.10 https netmask 255.255.255.255 0 0

You need a static for the machine you are attempting to forward DNS and RDP to. Oh and clear your xlates after you make the changes
 
thanks,

I finally took another pix I had and started over with a blank config, and did the whole thing from scratch by hand, and it worked. so either my statics were messed up as you suggested, or the xlates were not cleared (I didn't know to do that either thanks again) but everything fell into place with the clean config.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top