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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco PIX 506E Config Assistance 1

Status
Not open for further replies.

Ferbert

MIS
Jul 14, 2012
6
US
Hello All..... I am a Cisco Newbie - used to configure unix based firewalls a while back, but this one is new to me.

Set up - here is my current set up:

Cable modem - inside IP on cable modem - 71.12.111.217

I have a set of 5 external IP's for my use - 71.12.111.218 - 222.

Inside network 192.168.1.X 255.255.255.0

I have the set up below that I thought would work, but I cannot get any traffic to the outside. Any help would be appreciated.

:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password D4ggfdks56 encrypted
passwd 5Td35h8Jy3.45gfzY encrypted
hostname ferbpix
domain-name ferbert.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
name 192.168.1.23 ferbweb
access-list outside_in permit tcp any host ferbweb eq www
access-list outside_in permit tcp any host ferbweb eq smtp
access-list outside_in permit udp any host ferbweb eq www
access-list outside_in permit udp any host ferbweb eq 3389
access-list outside_in permit tcp any host ferbweb eq 3389
access-list outside_in deny ip any any
access-list inside_out permit ip any any
access-list inside_out permit icmp any any
pager lines 24
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside 71.12.111.218 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 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 (outside,inside) 71.12.111.219 ferbweb netmask 255.255.255.255 0 0
access-group outside_in in interface outside
access-group inside_out in interface inside
route inside 0.0.0.0 0.0.0.0 71.12.111.217 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 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.2-192.168.1.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
 
Your route inside 0.0.0.0 0.0.0.0 71.12.111.117 should be route outside 0.0.0.0 0.0.0.0 71.12.111.117. Also your NAT statement should be nat (inside,outside) 71.12.111.119 ferbweb

 
Sorry, it should be static not nat in the last sentence there

 
Thanks - that worked great. I can get to the outside now with no problems.... BUT....

I have a web/e-mail server that is being blocked on the outside. It has the name ferbweb in the config. I need port 25 and 80 open for internet users to be able to get to the web site, and e-mail servers to deliver mail. Neither works with the config. I have supplied a new show run below.... thanks again for your help!

:
PIX Version 6.3(5)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password D4ggfdks56 encrypted
passwd 5Td35h8Jy3.45gfzY encrypted
hostname ferbpix
domain-name ferbert.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
name 192.168.1.23 ferbweb
access-list outside_in permit tcp any host ferbweb eq www
access-list outside_in permit tcp any host ferbweb eq smtp
access-list outside_in permit udp any host ferbweb eq www
access-list outside_in permit udp any host ferbweb eq 3389
access-list outside_in permit tcp any host ferbweb eq 3389
access-list outside_in deny ip any any
access-list inside_out permit ip any any
access-list inside_out permit icmp any any
pager lines 24
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside 71.12.111.218 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 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) 71.12.111.219 ferbweb netmask 255.255.255.255 0 0
access-group outside_in in interface outside
access-group inside_out in interface inside
route outside 0.0.0.0 0.0.0.0 71.12.111.217 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 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.2-192.168.1.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:e87247e6bad6ccfb1a12ea06eea49b47
: end
 
i would do the following:
Code:
name 71.12.111.219 ferbwebpub

no access-list outside_in

access-list outside_in permit tcp any host ferbwebpub eq www
access-list outside_in permit tcp any host ferbwebpub eq smtp
access-list outside_in permit udp any host ferbwebpub eq www
access-list outside_in permit udp any host ferbwebpub eq 3389
access-list outside_in permit tcp any host ferbwebpub eq 3389

 
Ok - entered that code - and it still deosn't work getting from the outside to the inside. Getting from the inside to the outside still works great. Any other ideas? Please know - I really do appreciate your help on this. See the new show run below:

:
PIX Version 6.3(5)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password D4ggfdks56 encrypted
passwd 5Td35h8Jy3.45gfzY encrypted
hostname ferbpix
domain-name ferbert.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
name 192.168.1.23 ferbweb
name 71.12.111.219 ferbwebpub
access-list outside_in permit tcp any host ferbwebpub eq www
access-list outside_in permit tcp any host ferbwebpub eq smtp
access-list outside_in permit udp any host ferbwebpub eq www
access-list outside_in permit udp any host ferbwebpub eq 3389
access-list outside_in permit tcp any host ferbwebpub eq 3389
access-list inside_out permit ip any any
access-list inside_out permit icmp any any
pager lines 24
icmp permit any inside
mtu outside 1500
mtu inside 1500
ip address outside 71.12.111.218 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 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) ferbwebpub ferbweb netmask 255.255.255.255 0 0
access-group inside_out in interface inside
route outside 0.0.0.0 0.0.0.0 71.12.111.217 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 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.2-192.168.1.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:4aafea61a8766514b0b5c8e2ed7d3648
: end
 
looks like the ACL has not been applied:
Code:
access-group outside_in in interface outside

 
Hey UncleRico - thanks for helping me with this. I will add this statement in the configuration, and put the appliance back into service later today and test it, and let you know what happens. Thank you again for the help! More to come.....
 
Thanks unclerico - your help was great! My PIX is up and running. Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top