Config cisco routers such as a VPN server June 20th, 2009
| Written by Reza Behroozi | |
| Monday, 23 July 2007 |
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
[[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}
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
One Response
Paddie Says:
Many of life’s failures are people who did not realize how close they were to success when they gave up.
