|
mirror links click on read more for rest of article
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  Add as favourites (129) | Quote this article on your site | Views: 6773 | E-mail
Only registered users can write comments. Please login or register. Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |