cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1761
Views
0
Helpful
0
Replies

DMZ configuration ASA 5505

Valdas Kaip
Level 1
Level 1

Hello,

I would like to hear a best practice to setup setup firewall for this kind of network:

Network.jpg

I will try to explain what I want to do.

In company we have to network one is public network and second one is private, in private network no one can reach Internet. In public everyone can reach it.

But the main problem is that WWW Server should reach public network SQL server, DNS server to resolve web services URL and access to Internet SQL servers. But no one from public network should access it, only requests from WWW server can return.

From the private network Private WWW users should be able to reach only WWW Server on 443 port and to work on it. Then they try to receive information from Internet resources WWW Server should make request to Internet and receive back the information.

This kind of configuration is needed temporary because later on I will try to configure proxy squid and add second firewall to separate public network dmz and private network.

And the final thing now I am bumped in to problem, because this kind of job is new to me, but I am willing to learn a lot from this community.

Configuration on the ASA 5505, it is not finished but I need help to make it work as I mentioned I started configuring it by manual founded on the internet (https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/115904-asa-config-dmz-00.html).

!
ASA Version 9.1(2)
!
hostname pubfw
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0/0
description Connected to outside Segment
switchport access vlan 2
!
interface Ethernet0/1
description Connected to Inside Segment
switchport access vlan 1
!
interface Ethernet0/2
description Connected to DMZ Segment
switchport access vlan 3
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.100.169 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 192.168.201.88 255.255.254.0
!
interface Vlan3
nameif dmz
security-level 50
ip address 192.168.140.44 255.255.255.0
!
ftp mode passive
object network obj_any
subnet 0.0.0.0 0.0.0.0
object network inside-subnet
subnet 192.168.100.0 255.255.255.0
object network dmz-subnet
subnet 192.168.140.0 255.255.255.0
object network webserver
host 192.168.140.41
object network dns-server
host 192.168.201.112
object network dmz-outside
access-list dmz_acl extended permit udp any object dns-server eq domain
access-list dmz_acl extended deny ip any object inside-subnet
access-list dmz_acl extended permit ip any any
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu DMZ 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
!
object network dmz-subnet
nat (DMZ,outside) dynamic interface
access-group dmz_acl in interface DMZ
route outside 0.0.0.0 0.0.0.0 192.168.201.254 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 192.168.100.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username admin password kCei4cwsNTcYnNsE encrypted privilege 15
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:1bf2b342d831ecb735ee14fdc291e339

0 Replies 0
Review Cisco Networking for a $25 gift card