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

Unable to access DMZ from INSIDE

Status
Not open for further replies.

mydamnname

Technical User
Jun 19, 2007
1
US
Can someone help me out on this? I am unable to access a webserver in my DMZ from the inside interface. Here is my setup:

Adtran Router: 65.xxx.xxx.121
PIX 515E Firewall OUTSIDE port: 62.xxx.xxx.122
PIX 515E Firewall INSIDE port: 192.168.1.1
PIX 515E DMZ port: 192.168.2.1
DMZ Webserver :192.168.2.10 / 65.xxx.xxx.123

I have internet access on the INSIDE client.
I have internet access on the DMZ webserver.
From a different connection I can access the webserver via 65.xxx.xxx.123.
From the INSIDE client I cannot access the webserver by either IP address.

I have no clue what I am doing. Any help would be greatly appreciated. Here is my config.

PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto shutdown
interface ethernet3 auto shutdown
interface ethernet4 auto shutdown
interface ethernet5 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
nameif ethernet3 intf3 security6
nameif ethernet4 intf4 security8
nameif ethernet5 dmz security50
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.2.10 WebServer
name 192.168.1.3 InsideClient
object-group service http tcp
port-object eq www
port-object eq ftp-data
port-object eq pop3
port-object eq ftp
port-object eq https
port-object eq smtp
object-group service disallow tcp
port-object eq talk
port-object eq daytime
port-object eq pop2
port-object eq ssh
port-object eq discard
port-object eq chargen
port-object eq tacacs
port-object eq lotusnotes
port-object eq hostname
port-object eq domain
port-object eq ctiqbe
port-object eq kshell
port-object eq nntp
port-object eq aol
port-object eq kerberos
port-object eq ldaps
port-object eq ident
port-object eq pim-auto-rp
port-object eq gopher
port-object eq exec
port-object eq irc
port-object eq telnet
port-object eq netbios-ssn
port-object eq login
port-object eq imap4
port-object eq sunrpc
port-object eq pcanywhere-data
port-object eq whois
port-object eq sqlnet
port-object eq bgp
port-object eq klogin
port-object eq echo
port-object eq lpd
port-object eq cmd
port-object eq ldap
port-object eq h323
port-object eq pptp
port-object eq finger
port-object eq uucp
port-object eq citrix-ica
access-list outside_access_in permit tcp any host 65.xxx.xxx.123 eq www
access-list outside_access_in permit icmp any host 65.xxx.xxx.123
pager lines 24
logging buffered debugging
mtu outside 1500
mtu inside 1500
mtu intf2 1500
mtu intf3 1500
mtu intf4 1500
mtu dmz 1500
ip address outside 65.xxx.xxx.122 255.255.255.248
ip address inside 192.168.1.1 255.255.255.0
no ip address intf2
no ip address intf3
no ip address intf4
ip address dmz 192.168.2.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.1.2 255.255.255.255 inside
pdm location 192.168.2.3 255.255.255.255 dmz
pdm location WebServer 255.255.255.255 dmz
pdm location InsideClient 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 200 interface
global (inside) 10101 interface
global (dmz) 200 192.168.2.2-192.168.2.254 netmask 255.255.255.255
nat (inside) 200 192.168.1.0 255.255.255.0 0 0
nat (dmz) 200 192.168.2.0 255.255.255.0 0 0
static (dmz,outside) 65.xxx.xxx.123 WebServer netmask 255.255.255.255 0 0
static (dmz,inside) 65.xxx.xxx.123 WebServer netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 65.xxx.xxx.121 1
timeout xlate 3:00: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 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 192.168.1.2 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
management-access inside
console timeout 0
 
First your static nat is wrong. second you have no access-list for your inside interface


copy and paste this it should sort your issue out.


no static (dmz,inside) 65.xxx.xxx.123 WebServer netmask 255.255.255.255 0 0
static (inside,dmz) 192.168.1.0 192.168.1.0 netmask 255.255.255.0
clear xlate

access-list inside_access_in permit tcp 192.168.1.0 255.255.255.0 host 192.168.2.1 eq www


I am confused your your internal host can see the internet without an ACL
access-group inside_access_in in interface outside
 
sorry

I am confused how your internal host can see the internet without an ACL
access-group inside_access_in in interface outside <-change
access-group inside_access_in in interface INSIDE
 
By default all traffic is allowed outbound from a higher security level to a lower one unless you specifically lock it down. No ACL needed on inside interface.

Delete this
static (dmz,inside) 65.xxx.xxx.123 WebServer netmask 255.255.255.255 0 0
and add a no_nat ACL
access-list no_NAT permit ip 192.168.1.1 255.255.255.0 192.168.2.1 255.255.255.0
nat (inside) 0 access-list no_NAT

Now you should be able access it by the DMZ IP.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top