Config cisco routers such as a VPN server   June 20th, 2009

Written by Reza Behroozi
Monday, 23 July 2007
Step by step configuration :
PersianAdmins.com(config)# vpdn enable

Create a VPDN group configured to PPTP, just like the Microsoft VPN client will use, by default:

PersianAdmins.com(config)# vpdn-group reza

PersianAdmins.com(config-vpdn)# accept-dialin

PersianAdmins.com(config-vpdn)# protocol pptp

PersianAdmins.com(config-vpdn)# virtual-template 1

PersianAdmins.com(config-vpdn)# exit

Here, we will configure our interfaces to match the diagram. Naturally, your IP address configuration will vary:

PersianAdmins.com(config)# interface ethernet0/0

PersianAdmins.com(config-if)# ip address 192.168.0.5 255.255.255.0

PersianAdmins.com(config-if)# no shutdown

Next, create your virtual-template that will apply to the inbound VPN connections. This template references the e0/0 interface for its IP address. It also references a pool of IP addresses that will be handed out to VPN clients. Finally, it configures the PPP encryption and authentication mechanisms to match what the Microsoft VPN client defaults to:

PersianAdmins.com(config)# interface Virtual-Template1

PersianAdmins.com(config-if)# ip unnumbered ethernet0/0

PersianAdmins.com(config-if)# peer default ip address pool behroozi

PersianAdmins.com(config-if)# ppp encrypt mppe auto required

PersianAdmins.com(config-if)# ppp authentication ms-chap ms-chap-v2

Now, create the pool of IP addresses. This pool should not already be in use on the internal network you are connecting to:

Router(config)# ip local pool behroozi 10.0.0.1 10.0.0.100

After that, create a test user:

Router(config)# username test password 0 rezabehroozi

Lab for dynamips :
[localhost]
[[ROUTER R1]]
image = \Program Files\Dynamips\images\c7200-advipservicesk9-mz.124-4.T1.bin
ram = 160
model = 7200
F0/0 = NIO_gen_eth:\Device\NPF_{45BB7A21-B13A-45BC-AC74-27F694FC0AC7}
Client Configuraion:
click Start | Control Panel | Network Connections. Click on New Connection Wizard
then

pic 1

pic 2

pic 3

pic 4

pic 5

pic 6

pic 7

pic 8

pic 9

pic 10

Thanks to Author, orignal link http://www.en.persianadmins.com/article/cisco/
Config_cisco_routers_such_as_a_VPN_server_2007072314.html

This entry was posted on Saturday, June 20th, 2009 at 1:56 pm and is filed under CISCO, Networking. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

One Response

November 23rd, 2009 at 6:16 am
Paddie Says:

Many of life’s failures are people who did not realize how close they were to success when they gave up.

Leave a Reply

*


http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_bye.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_good.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_negative.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_scratch.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_wacko.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_yahoo.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_cool.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_heart.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_rose.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_smile.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_whistle3.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_yes.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_cry.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_sad.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_unsure.gif 
http://blog.csatpk.com/wp-content/plugins/wp-monalisa/icons/wpml_wink.gif