COMPUTER TIPS

Home | Previous Page| About Us | Set As Home Page

 

Google

  Google Groups Beta Subscribe to Computer free Tips                                                  

Email:

March, 18 , 08                    Today's Tip                              Add to Favorites  

                                                                              

   

Previous Tips e

16-03-08
15-03-08
14-03-08
13-03-08
12-03-08
11-03-08
10-03-08
09-03-08
08-03-08
07-03-08
06-03-08
05-03-08
04-03-08
03-03-08
02-03-08
01-03-08
28-02-08
27-02-08
26-02-08
25-02-08
24-02-08
23-02-08
22-02-08
21-02-08
20-02-08
19-02-08
18-02-08
17-02-08
16-02-08
15-02-08
14-02-08
13-02-08
12-02-08
11-02-08
10-02-08
09-02-08
08-02-08
07-02-08
06-02-08
05-02-08
04-02-08
03-02-08
02-02-08
01-02-08
30-01-08
29-01-08
28-01-08
27-01-08
26-01-08
25-01-08
24-01-08
23-01-08
22-01-08
21-01-08
20-01-08
19-01-08
18-01-08
17-01-08
16-01-08
15-01-08
14-01-08
13-01-08
12-01-08
11-01-08
10-01-08
09-01-08
08-01-08
07-01-08
06-01-08
05-01-08
04-01-08
03-01-08
02-01-08
01-01-08
 

Dec-07-Tips

Nov-07-Tips

October 07-Tips

September 07-Tips

August 07-Tips

July 07- Tips

June 07- Tips

May 07- Tips

April 07- Tips

March, 07- Tips

February, 07- Tips

January, 07- Tips

 

 

 

 

 

 

How to configure site-to-site VPN tunnel using ASA?

 

 

 

Site-to-Site secure VPN tunnel using the ASA (Adaptive Security Appliances) enables an encrypted connection between private networks over a public network such as the internet. 

Basic steps for VPN Configuration: 

1- First define the ISAKMP Policy.

For example:

·     Authentication

  • Hash
  • Encryption
  • Group

2- Establish IPsec transform set.

For example:

·     Esp-des

  • Esp-md5-hmac
  • Esp-aes
  • Asp-sha-hmac

3- Configure crypto access list.

For example:         Define interesting traffics

4- Configure crypto map

     Used to verify the previously defined parameters 

5- Now apply crypto map on the outside interface.

     Used to verify the outgoing interface traffic

 

Configuration of ASA on side A 

First defined the IKE polices on ASA-A 

ASA-A(config)#crypto isakmp policy 10

(10 is isakmp policy number) 

ASA-A(config-isakmp)#encryption des 

(enable encryption des) 

ASA-A(config-isakmp)#hash md5

(enable algorithm md5 for hashing) 

ASA-A(config-isakmp)#authentication pre-share

(enable Pre-shared method)

ASA-A(config-isakmp)#group 2   

(enable diffie-Helman group 2)    

ASA-A(config-isakmp)#exit  

(Exit from crypto isakmp mode)

  • The next step is to create a pre-shared key (password) on ASA - A.

ASA-A(config)#crypto isakmp key office address 20.1.1.20

(Here Key is "office" and 20.1.1.20 is ASA - B Address)

  • Now create an access list to define only interesting traffic.

ASA-A(config)#access-list 100 permit ip host 20.1.1.10 host 20.1.1.20

(100 is access list number and 20.1.1.10 is source address and 20.1.1.20 is destination address.) 

  • Now create the transform-set for encryption and hashing.

ASA-A(config)#crypto ipsec transform-set ts2 esp-des esp-md5-hmac

(Here encryption type is des and hashing technique is md5-hmac)

ASA-A(config)#crypto map imap 10 ipsec-isakmp 

(crypto map name imap) 

ASA-A(config)# crypto map imap 10 match address 100   

(apply the access list)

ASA-A(config)# crypto map imap 10 set transform-set ts2

(apply the transform set) 

ASA-A(config)# crypto map imap 10 set peer 20.1.1.20 

(Set remote peer address)

  • Now apply the crypto map to the ASA - A interface

ASA-A(config)# crypto map imap interface outside

 (Apply crypto map on outside interface)

ASA-A(config)# crypto isakmp enable outside

(To enable crypto isakmp on ASA)

 

Configuration of ASA on side B 

First defined the IKE polices on ASA-B 

ASA-B(config)#crypto isakmp policy 10

(10 is isakmp policy number) 

ASA-B(config-isakmp)#encryption des 

(enable encryption des) 

ASA-B(config-isakmp)#hash md5

(enable algorithm md5 for hashing) 

ASA-B(config-isakmp)#authentication pre-share

(enable Pre-shared method)

ASA-B(config-isakmp)#group 2   

(enable diffie-Helman group 2)    

ASA-B(config-isakmp)#exit  

(Exit from crypto isakmp mode)

  • The next step is to create a pre-shared key (password) on ASA - B.

ASA-B(config)#crypto isakmp key office address 20.1.1.10

(Here Key is "office" and 20.1.1.10 is ASA - A Address)

  • Now create an access list to define only interesting traffic.

ASA-B(config)#access-list 100 permit ip host 20.1.1.20 host 20.1.1.10

(100 is access list number and 20.1.1.20 is source address and 20.1.1.10 is destination address.) 

  • Now create the transform-set for encryption and hashing.

ASA-B(config)#crypto ipsec transform-set ts2 esp-des esp-md5-hmac

(Here encryption type is des and hashing technique is md5-hmac)

ASA-B(config)#crypto map imap 10 ipsec-isakmp 

(crypto map name imap) 

ASA-B(config)# crypto map imap 10 match address 100   

(apply the access list)

ASA-B(config)# crypto map imap 10 set transform-set ts2

(apply the transform set) 

ASA-B(config)# crypto map imap 10 set peer 20.1.1.10 

(Set remote peer address)

  • Now apply the crypto map to the ASA - B outside interface

ASA-B(config)# crypto map imap interface outside 

(Apply crypto map on outside interface)

ASA-B(config)# crypto isakmp enable outside

(To enable crypto isakmp on ASA) 

Now to verify the secure tunnel, ping to other remote location. 

ASA-B(config)# ping 20.1.1.10

                          

Yesterday Tip.

How to display the hidden settings of Samsung mobile phones?