sexta-feira, 23 de setembro de 2011

Configuring Cisco ASA VPN with Active Directory Authentication

http://theitjanitor.com/configuring-cisco-asa-vp-with-active-directory-authentication/

I recently deployed a Cisco ASA 5510 as VPN solution. We were replacing an old SideWinder VPN. There were a few post out on the internet, but I didn’t...

http://www.blogger.com/img/blank.gif
http://www.blogger.com/img/blank.gifhttp://www.blogger.com/img/blank.gif
I recently deployed a Cisco ASA 5510 as VPN solution. We were replacing an old SideWinder VPN. There were a few post out on the internet, but I didn’t find a good step-by-step how to guide, so I figured I’d write one.

This tutorial assumes a few things:

You have a working VPN tunnel using local authentication – You can use the VPN Wizard to do this. I will user connection profile “Test.”
You have created a Active Directory Group – I will user VPN USERS in this example.
You have created a read-only Active Directory user – I will use vpn user in this example.
You have the DN’s for both the vpn user, and your base DN. You can use dsquery to obtain them – I will use the domain cisco.com in this example.

This configuration was performed on an ASA 5510 and and ASA 5505 version 8.2(2) with ASDM 6.25.
Adding the Active Directory server to the ASA

On ASDM navigate to Configuration –>Remote Access VPN –>AAA/Local Users –>AAA Server Groups
Under AAA Server Groups click add.
Under name, give it a name. Select LDAP for the protocol.
Select Reactivation mode Depletion.
Dead Time 10 Minutes.
Max Failed Attempts 3.
Click OK and then click apply.

Highlight the new server you just created, and click add under Servers in the Selected Group.
Select the interface in which the server sits behind, this would normally be the inside interface.
Server Type: Microsoft.
Base DN: DC=,DC= ie DC=cisco,DC=com, of course you would put your own domain instead of cisco.
Scope: All levels beneath the Base DN
Naming Attributes: sAMAccountName – be careful this is case sensitive.
Login:CN=vpn user,CN=Users,DC=CISCO,DC=COM – This is the user you created .
Login Password: Password for the user.
LDAP Attribute Map : None.
Leave the other LDAP Parameters blank and click OK and apply your configuration.



Adding the VPN Access Policy

Navigate to Configuration –> Remote Access VPN –> Network (Client) Access –> Dynamic Access Policies.
Select the DfltAccessPolicy and select edit.
Change the Action to Terminate, and click ok. This will deny any connection by default.
Click the Add button to create a new Access Policy.
Specify a description.
Under selection Criteria select User has ANY of the following Attributes, and click Add.
Under AAA Attribute Type select LDAP.
Attribute ID: memberOf, and click Get AD Groups
All your Active Directory groups should populate, select the VPN USERS Group, and click ok.

Under Action make sure continue is selected, and click ok and apply.

Navigate to Configuration –> Remote Access VPN –> IPsec Connection Profiles.
Either create a new profile or edit an existing profile.
Under Server Group, choose LDAP, this is the server we added earlier.



Click ok and apply your configuration.
At this point you should be able to VPN and Authenticate via Active Directory, provided you are a member of the VPN Users group.

segunda-feira, 19 de setembro de 2011

port Mirror Cisco Switch (SNIFFER)

via cli

monitor session 1 source interface Fa0/47
monitor session 1 destination interface Fa0/43

via cisco network assistant:




segunda-feira, 5 de setembro de 2011

WINDOWS 7 NAO ARRANCA E VAI DIRECTO PARA REPAIR

TIVE DE REPARAR BOOTSECT

http://www.guiadopc.com.br/dicas/13098/como-recuperar-o-boot-mbr-do-windows-7.html