Configuring ASA, Object Group and Service Group Configuration, Example
ASA
| |||
Interface
|
E0/0
|
E0/1
|
E0/2
|
IP Address
|
200.1.1.2
|
192.168.1.1
|
192.168.10.1
|
Net mask
|
255.255.255.0
|
255.255.255.0
|
255.255.255.0
|
INTERNET ROUTER
| |||
Interface
|
E1/0
| ||
IP Address
|
200.1.1.1
| ||
Net mask
|
255.255.255.0
| ||
DMZ_1 ROUTER
| |||
Interface
|
E1/0
| ||
IP Address
|
192.168.10.10
| ||
Net mask
|
255.255.255.0
| ||
DMZ_2 ROUTER
| |||
Interface
|
E1/0
| ||
IP Address
|
192.168.10.11
| ||
Net mask
|
255.255.255.0
| ||
USER1 ROUTER
| |||
Interface
|
E1/0
| ||
IP Address
|
192.168.1.10
| ||
Net mask
|
255.255.255.0
|
ASA CONFIGURATION
ciscoasa# show run
: Saved
:
ASA Version 8.0(2)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0/0
nameif outside
security-level 0
ip address 200.1.1.2 255.255.255.0
no shut
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
no shut
!
interface Ethernet0/2
nameif dmz
security-level 50
ip address 192.168.10.1 255.255.255.0
no shut
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
object-group network telnet-servers
network-object host 200.1.1.10
network-object host 200.1.1.11
object-group service dmz_services tcp
port-object eq telnet
access-list permit-in extended permit tcp any object-group telnet-servers object-group dmz_services
access-list permit-in extended deny ip any any
pager lines 24
mtu outside 1500
mtu inside 1500
mtu dmz 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 200.1.1.3 netmask 255.255.255.0
nat (inside) 1 0.0.0.0 0.0.0.0
nat (dmz) 1 192.168.10.0 255.255.255.255
static (dmz,outside) 200.1.1.10 192.168.10.10 netmask 255.255.255.255
static (dmz,outside) 200.1.1.11 192.168.10.11 netmask 255.255.255.255
access-group permit-in in interface outside
timeout xlate 3:00:00
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 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
no crypto isakmp nat-traversal
telnet timeout 5
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
!
!
prompt hostname context
Cryptochecksum:00000000000000000000000000000000
: end
ciscoasa#
INTERNET ROUTER CONFIGURATION
interface Ethernet1/0
ip address 200.1.1.1 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 200.1.1.2
line vty 0 4
password test
login
!
end
DMZ_1 ROUTER CONFIGURATION
interface Ethernet1/0
ip address 192.168.10.10 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 192.168.10.1
line vty 0 4
password test
DMZ_2 ROUTER CONFIGURATION
interface Ethernet1/0
ip address 192.168.10.11 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 192.168.10.1
line vty 0 4
password test
login
USER1 ROUTER CONFIGURATION
interface Ethernet1/0
ip address 192.168.1.10 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 192.168.1.1
Now open telnet session from Internet router to DMZ1 Router and DMZ2 Router
InternetRouter# telnet 200.1.1.10
InternetRouter# telnet 200.1.1.11
Verifying
ciscoasa# show xlate
No comments:
Post a Comment