dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
956
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

[Config] ASA config first timer!!!

Afternoon all,
Following my (still) un-successful attempt to get the ADSM working on a 5520 8.2(5) firewall (»[HELP] ASA5520 and Java annoyances), I have resorted to the CLI, which iif I'm honest I prefer but was a little daunted by. However...
Following most of this guide here »www.firewall.cx/cisco-te ··· tup.html
I have got some config on this thing. It goes to site on Monday so if anyone can spot any flaws, let me know. I want it to be as plug and play as possible so that if I have any issues I can at least use the internet whilst on site to try to resolve them.
Here's what I have so far:

ciscoasa# sho run
: Saved
:
ASA Version 8.2(5)
!
hostname ciscoasa
enable password xxxxx encrypted
passwd xxxxx encrypted
names
!
interface GigabitEthernet0/0
 nameif vlan10
 security-level 100
 ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 vlan 20
 nameif vlan20
 security-level 100
 ip address 192.168.20.1 255.255.255.0
!
interface GigabitEthernet0/0.60
 vlan 60
 nameif vlan60
 security-level 100
 ip address 192.168.60.1 255.255.255.0
!
interface GigabitEthernet0/0.70
 vlan 70
 nameif vlan70
 security-level 100
 ip address 192.168.70.1 255.255.255.0
!
interface GigabitEthernet0/0.80
 vlan 80
 nameif vlan80
 security-level 100
 ip address 192.168.80.1 255.255.255.0
!
interface GigabitEthernet0/0.90
 vlan 90
 nameif vlan90
 security-level 100
 ip address 192.168.90.1 255.255.255.0
!
interface GigabitEthernet0/1
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/2
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/3
 nameif outside
 security-level 0
 ip address dhcp setroute
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.1.1 255.255.255.0
 management-only
!
ftp mode passive
same-security-traffic permit inter-interface
pager lines 24
logging asdm informational
mtu management 1500
mtu vlan10 1500
mtu vlan20 1500
mtu vlan60 1500
mtu vlan70 1500
mtu vlan80 1500
mtu vlan90 1500
mtu outside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (vlan10) 1 192.168.10.0 255.255.255.0
nat (vlan20) 1 192.168.20.0 255.255.255.0
nat (vlan60) 1 192.168.60.0 255.255.255.0
nat (vlan70) 1 192.168.70.0 255.255.255.0
nat (vlan80) 1 192.168.80.0 255.255.255.0
nat (vlan90) 1 192.168.90.0 255.255.255.0
route outside 0.0.0.0 0.0.0.0 x.x.x.x
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 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
http server enable
http 192.168.1.0 255.255.255.0 management
http 192.168.10.0 255.255.255.0 vlan10
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
username xxxxx password xxxxx encrypted privilege 15
username xxxxx password xxxxx 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
  inspect icmp
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:xxxxxxxxxxxxxxxxxxxxxxxxxxx
: end
 
HELLFIRE
MVM
join:2009-11-25

HELLFIRE

MVM

said by markysharkey:

It goes to site on Monday so if anyone can spot any flaws, let me know.

As a pure inside/outside config on pre8.3 code, I don't see anything wierd and whacky. Are you doing anything else config-wise beyond that?
Guessing you also tested this plugging into an internet connection and wiring in a host on one of the INSIDE interfaces as well?

Otherwise, it's all PITP** now.

Regards

**Proof's In The Pudding
creatine8
join:2007-09-05
Canada

creatine8 to markysharkey

Member

to markysharkey
Do you plan on being able to configure the device after its deployed (via the lan or outside interface) without being connected via console ?

If so i would add

ssh 192.168.10.0 255.255.255.0 vlan 10
and
ssh (trusted public ip) outside
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

Yes I do, so yes, I will add those in once I have the public IP address info.

Client has requested VPN access to one of the LAN's. I was going to use a standard crypto map VPN config for use with Cisco's VPN Client. I'll Google it, but my question is, how similar is it to a crypto map config on a regular ISR? I can do those OK!
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to markysharkey

MVM

to markysharkey
said by markysharkey:

but my question is, how similar is it to a crypto map config on a regular ISR? I can do those OK!

Virtually identical, IIRC. Try here, under Remote Access VPN.

Regards
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

That's quite a list!
I assume I'm looking at ASA/PIX: Allow Split Tunneling for VPN Clients on the ASA Configuration Example?
If not, which one?
I don't see any mention of Crypto Maps in there???
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to markysharkey

MVM

to markysharkey
said by markysharkey:

That's quite a list!

If you don't know how to configure it, go to Cisco's own config guides

I'm finding mention of crypto maps in the site to site stuff, for sure. Looking at the "PIX/ASA 7.x and Cisco VPN Client 4.x for Cisco
Secure ACS Authentication Configuration" example, there's dynamic crypto maps being applied to the outside interface.

Question, did your client advise whether they wanted SSL VPN or IPSec VPN? I'm guessing with the mention of crypto maps, they want IPSec.

Regards
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

Yes they want IPSEC using Cisco AnyConnect client rather than EasyVPN.
I'll cast an eye over the example you mention and have a crack at it in the lab. Device goes to site on Monday / Tuesday when it needs to be live and working!