NAT Problems Cisco 501 firewall

I have been working on this for days without success. All I am trying to do is forward a public IP address to a private IP address. Here's what I've got. It has to be something easy. I really only want to host a webserver. I can't even ping the public IP address. Any help would be much appreciated. Thanks. BTW, I am able to browse the web with the webserver.

public IP: 60.33.23.132 static IP: 192.168.1.17

Result of firewall command: "write terminal"

Building configuration... : Saved : PIX Version 6.3(3) interface ethernet0 auto interface ethernet1 auto nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password WnWty2YPL4jeoz0e encrypted passwd WnWty2YPL4jeoz0e 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 access-list 100 permit icmp any any echo-reply access-list 100 permit icmp any any time-exceeded access-list 100 permit icmp any any unreachable access-list 100 permit tcp any host 60.33.23.132 eq www access-list inside_access_in permit ip any any access-list inbound permit icmp any any access-list inbound permit tcp any host 60.33.23.132 eq www access-list inbound permit tcp any host 60.33.23.132 eq domain access-list inbound permit udp any host 60.33.23.132 eq domain pager lines 24 logging on mtu outside 1500 mtu inside 1500 ip address outside 60.33.23.50 255.255.255.248 ip address inside 192.168.1.1 255.255.255.0 ip audit info action alarm ip audit attack action alarm pdm location 192.168.1.20 255.255.255.255 inside pdm location 60.33.23.132 255.255.255.255 outside 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) 60.33.23.132 192.168.1.17 netmask

255.255.255.255 0 0 access-group inbound in interface outside access-group inside_access_in in interface inside route outside 0.0.0.0 0.0.0.0 60.33.23.134 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 uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server RADIUS protocol radius aaa-server LOCAL protocol local http server enable http 192.168.1.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 dhcpd address 192.168.1.100-192.168.1.200 inside dhcpd dns 192.168.1.3 192.168.1.13 dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:0804d2725676144b99a27ec82ed2638c : end [OK]
Reply to
zathri
Loading thread data ...

I have been working on this for days without success. All I am trying to do is forward a public IP address to a private IP address. Here's what I've got. It has to be something easy. I really only want to host a webserver. I can't even ping the public IP address. Any help would be much appreciated. Thanks. BTW, I am able to browse the web with the webserver.

public IP: 60.33.23.132 static IP: 192.168.1.17

Result of firewall command: "write terminal"

Building configuration... : Saved : PIX Version 6.3(3) interface ethernet0 auto interface ethernet1 auto nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password WnWty2YPL4jeoz0e encrypted passwd WnWty2YPL4jeoz0e 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 access-list 100 permit icmp any any echo-reply access-list 100 permit icmp any any time-exceeded access-list 100 permit icmp any any unreachable access-list 100 permit tcp any host 60.33.23.132 eq www access-list inside_access_in permit ip any any access-list inbound permit icmp any any access-list inbound permit tcp any host 60.33.23.132 eq www access-list inbound permit tcp any host 60.33.23.132 eq domain access-list inbound permit udp any host 60.33.23.132 eq domain pager lines 24 logging on mtu outside 1500 mtu inside 1500 ip address outside 60.33.23.50 255.255.255.248 ip address inside 192.168.1.1 255.255.255.0 ip audit info action alarm ip audit attack action alarm pdm location 192.168.1.20 255.255.255.255 inside pdm location 60.33.23.132 255.255.255.255 outside 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) 60.33.23.132 192.168.1.17 netmask

255.255.255.255 0 0 access-group inbound in interface outside access-group inside_access_in in interface inside route outside 0.0.0.0 0.0.0.0 60.33.23.134 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 uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server RADIUS protocol radius aaa-server LOCAL protocol local http server enable http 192.168.1.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 dhcpd address 192.168.1.100-192.168.1.200 inside dhcpd dns 192.168.1.3 192.168.1.13 dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:0804d2725676144b99a27ec82ed2638c : end [OK]
Reply to
zathri

In article , wrote: :I have been working on this for days without success. All I am trying :to do is forward a public IP address to a private IP address. Here's :what I've got. It has to be something easy. I really only want to :host a webserver. I can't even ping the public IP address. Any help :would be much appreciated. Thanks. BTW, I am able to browse the web :with the webserver.

:public IP: 60.33.23.132 :static IP: 192.168.1.17

:PIX Version 6.3(3)

6.3(3) has some security problems. You can get a free upgrade to 6.3(4) even if you do not have a support contract. 6.3(5) is the current release.

:access-list 100 permit icmp any any echo-reply :access-list 100 permit icmp any any time-exceeded :access-list 100 permit icmp any any unreachable :access-list 100 permit tcp any host 60.33.23.132 eq www

:access-list inside_access_in permit ip any any

:access-list inbound permit icmp any any :access-list inbound permit tcp any host 60.33.23.132 eq www :access-list inbound permit tcp any host 60.33.23.132 eq domain :access-list inbound permit udp any host 60.33.23.132 eq domain

:ip address outside 60.33.23.50 255.255.255.248

The public IP you list as serving, 60.33.23.132, does not fall within the outside IP address range. That is NOT a fatal problem, but it does mean that you should arrange to have your WAN router

*route* 60.33.23.132 to your PIX outside IP, 60.33.23.50 . If your WAN router happens to have an interface in whatever subnet 60.33.23.132 is in, then you might be able to use the PIX's proxy arp instead, but proxy arp is ultimately not as reliable as routing.

:ip address inside 192.168.1.1 255.255.255.0

:global (outside) 1 interface :nat (inside) 1 0.0.0.0 0.0.0.0 0 0 :static (inside,outside) 60.33.23.132 192.168.1.17 netmask 255.255.255.255 0 0

That statement is fine, and it will enable the proxy arp I mentioned above. The PIX *will* proxy arp for IPs that are not in the IP range assigned to its outside interface.

:access-group inbound in interface outside

That is not wrong, but notice you are not using access-list 100 at all.

:access-group inside_access_in in interface inside

That is not wrong, but since you permit ip any any in that ACL, you are doing what the PIX would do by default if you had no access-group in interface inside at all: allow all inside- originated packets to go outside.

:route outside 0.0.0.0 0.0.0.0 60.33.23.134 1

That's a bit problematic as 60.33.23.134 is not within the IP range of our outside interface. The PIX is not going to know what the appropriate mask is to use in order to ARP for that IP, so it is going to fall back upon the old "Class A / Class B / Class C" rules, and thus assume that 60.33.23.134 is part of the Class A network 60/8 with broadcast IP 60.255.255.255 .

Your ACLs and static's look okay, but your routing is questionable.

Reply to
Walter Roberson

Thanks, I think you're putting me on the right track. It's got to be the router. Now, I just gotta look up how to ip forward to the firewall interface. Thanks for the boost!

Reply to
zathri

Cisco deny that this is the case in fact, and claim that there are no security vulnerabilities affecting 6.3(3) of the type that you mention (and no free upgrade path to 6.3(4)).

Do you have the URL of a Field Notice or other cisco.com URL reference concerning the above?

Reply to
Anthony Edwards

:> 6.3(3) has some security problems. You can get a free upgrade to :> 6.3(4) even if you do not have a support contract.

:Cisco deny that this is the case in fact, and claim that there are :no security vulnerabilities affecting 6.3(3) of the type that you :mention (and no free upgrade path to 6.3(4)).

:Do you have the URL of a Field Notice or other cisco.com URL reference :concerning the above?

formatting link
Note in particular the sentance,

"Cisco has made free software available to address these vulnerabilities."

The 6.3(4)120 rebuild mentioned there is available at the special area

formatting link

Reply to
Walter Roberson

Many thanks. I have provided this information to Cisco by email, who hopefully will now provide the free upgrade.

Reply to
Anthony Edwards

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.