I am trying to the same thing except with 2 routers, both 827's. I have got static IP's on both ends of the ADSL connection. I havn't been able to try this yet, but will be doing so in a few weeks, but below are my findings so far. Anyone agree / disagree then please let me know.
So the pre-shared key is 'secretkey' and the ip of the address of the other router is 200.1.1.1
You then use access-lists to set up an encryption policy between the routers.
Next you need to define a transform list
Router1(config)#crypto ipsec transform-set tset1 esp-des ah-sha-hmac esp-md5-hmac
Router1(cfg-crypto-trans)#mode tunnel
Next we need to create a crypto map
Router1(config)#crypto map cmap1 local-address atm 0
Router1(config)#crypto map cmap1 ipsec-isakmp
Router1(config-crypto-map)#match address 111 --this relates to the access list.
Router1(config-crypto-map)#set peer 200.1.1.1
Router1(config-crypto-map)#set transform-set tset1
Just to add the crypto-map to the interface
Router1(config)#int atm 0
Router1(config-if)#crypto map cmap1
Just make sure that the proper routes are added to get the data down the tunnel.
Hope this helps, any errors, sugestions etc then let me know as i have to implement this in a week or so.
Ankton, so how are you going to know the ip at the other end to establish the connection? Using some form of dynamic dns might be the answer, as long as you have a resolvable address things will be ok.
To do this, instead of using 'address w.x.y.z' in the above config you use 'hostname something.yi.org' or whatever dynamic dns system you set up.
I havn't tried any of this yet, but at least it's pointing you in the right direction.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.