[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • Last Modified:

Site-to-Site VPN

Dear Experts,

i want to configure Site to site ipsec vpn with dynamic ip on one end??

Scenario:

Site1(ASA5505 with static ip leased line)
Site2(Cisco2601 with dynamic DSL connection)

I am using already EZVPN connection but every time my cisco2601 router restart, i have to login router and enter "crypto ipsec client ezvpn ..." type commands.

Please help me to confiure Site to Site vpn that one no need to do anything manually after router or ASA restart.

Thanks,
0
nainasipra
Asked:
nainasipra
1 Solution
 
Kash2nd Line EngineerCommented:
well first thing you need to do is fix the IP address I presume.
0
 
Cyclops3590Commented:
site to site vpn will work without a static IP (but only on one side), but it forces the dynamic IP side to "dial in" to the other one so it has to initiate the tunnel.

for some reason I'm thinking if you have to re-type the commands again you didn't save the commands.  after you type them all in did you run one of hte following

copy run start
or
wr mem

if you're not saving the running config to the startup config, any changes since last start config save will be lost and you'll have to re-put them back in

edit:  actually you most likely can have both sides be dynamic but it requires the use of DNS and DynDNS auto-registrations then.  I'm not 100% on that though as I've never tried that.
0
 
John HurstBusiness Consultant (Owner)Commented:
I have site to site tunnels to clients in my home office using a Cisco RV042G router. The clients have static external IP addresses. My IP is dynamic.

There are two ways to do this (excluding upgrading to a static IP).

1. Go with an Internet Supplier that offers stable IP addressing. My IP changes about once every 2 years and I can manage it.

2. Get DynDNS (dyndns.org) for the dynamic location. This presents a static IP to the outside world and allows the site IP to change dynamically. This works as well.

... Thinkpads_User
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
nainasipraAuthor Commented:
Easy VPN:

site1(ASA5505) ------------to-----------Site2(cisco2801)

every time my router restart on site 2, i have to enter following commands:

" Pending XAuth Request, Please enter the
       following command: crypto ipsec client ezvpn xauth

crypto ipsec client ezvpn xauth
Enter Username:
Password:
"
Please help me to configure that my VPN will reconnect automatically after router restart.

thanks,
0
 
naderzCommented:
You need to have the username and password configured. Can you post a scrubbed copy of the configs?

You should have something like:

crypto ipsec client ezvpn "some_name"
connect auto
group "your_group_name" key mykey
mode client
peer "peer address"
username "name" password "password"
xauth userid mode local
0
 
nainasipraAuthor Commented:
on my router config is like this:

crypto ipsec client ezvpn ezvpnvillage
 connect auto
 group DefaultRAGroup key village
 mode network-extension
 peer "my public ip"
 xauth userid mode interactive

i am not using username and password, if i have to use which username password should i use?

thanks
0
 
naderzCommented:
These should be the steps, if you don't have them:

1. You need to define the username and password on the ASA.

2. On the 2601 use the name and password in 1 under the crypto configs

crypto ipsec client ezvpn ezvpnvillage
 connect auto
 group DefaultRAGroup key village
 mode network-extension
 peer "my public ip"
  name "use username defined on the server" password "use password on defined on the server"
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now