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!

Basic Pix 501 Config

Status
Not open for further replies.

Skribbles

Technical User
May 5, 2004
5
CA
I'm attempting to setup a PIX 501 to hide my Web/FTP server. I've been playing around with it for a while and have had no luck getting it working. Here is my config:




interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password * encrypted
passwd * encrypted
hostname *
domain-name *
fixup protocol ftp 21
no fixup protocol h323 h225 1720
no fixup protocol h323 ras 1718-1719
fixup protocol http 80
no fixup protocol ils 389
no fixup protocol rsh 514
no fixup protocol rtsp 554
no fixup protocol sip 5060
no fixup protocol sip udp 5060
no fixup protocol skinny 2000
no fixup protocol smtp 25
no fixup protocol sqlnet 1521
names
pager lines 20
mtu outside 1500
mtu inside 1500
ip address outside *.*.*.152 255.255.255.240
ip address inside *.*.*.4 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 *.*.*.153 netmask 255.255.255.240
nat (inside) 1 *.*.*.0 255.255.255.0 0 0
static (inside,outside) *.*.*.152 *.*.*.131 netmask 255.255.255.255 0 0
route outside 0.0.0.0 0.0.0.0 *.*.*.145 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
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet *
telnet timeout 50
ssh timeout 5
console timeout 0
dhcpd auto_config outside
terminal width 80
Cryptochecksum:*
: end
Gate#

Any help for this config would be greatly appreciated. Thanx
 
What problems are you having?

===

Fatman Superstar (Andrew James)

CCNA, CCAI
 
You havent got an access list defined allowing that

===

Fatman Superstar (Andrew James)

CCNA, CCAI
 
Okay, here is a revised config. I left the acls wide open just for testing purposes and will lock them down later. I am still unable to allow external users to access my web server.

One part that I am confused on is the external address'. Should the external address be the same as address used in NAT pool? And which address requires the reverse lookup entry?

:
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password * encrypted
passwd * encrypted
hostname *
domain-name *
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
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
names
access-list inside permit tcp any any
access-list outbound permit tcp any any
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside *.*.217.153 255.255.255.240
ip address inside *.*.112.4 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location *.*.112.0 255.255.255.0 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
global (outside) 1 *.*.217.152 netmask 255.255.255.240
nat (inside) 1 *.*.217.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) *.*.217.153 *.*.112.131 netmask 255.255.255.255 0
0
access-group outbound in interface outside
access-group inside in interface inside
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 *.*.*.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:
: end


Thanx very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top