Cisco pptp server

Cisco configuration


vazov50>en
Password:********
vazov50#
vazov50#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
vazov50(config)#aaa authentication ppp auth local
vazov50(config)#vpdn enable
vazov50(config)#vpdn-group PPTP
vazov50(config-vpdn)#accept-dialin
vazov50(config-vpdn-acc-in)#protocol pptp
vazov50(config-vpdn-acc-in)#virtual-template 1
vazov50(config-vpdn-acc-in)#exit
vazov50(config-vpdn)#exit
vazov50(config)#interface virtual-template 1
vazov50(config-if)#ip unnumbered vlan10
vazov50(config-if)#ip mtu 1472
vazov50(config-if)#ip tcp adjust-mss 1360
vazov50(config-if)#peer default ip address pool VPN
vazov50(config-if)#ppp encrypt mppe 128
vazov50(config-if)#ppp authentication ms-chap-v2
vazov50(config-if)#exit
vazov50(config)#ip local pool VPN 192.168.10.200 192.168.10.254
vazov50(config)#username sami privilege 0 password samipassword
vazov50(config)#username ani privilege 0 password anipassword
vazov50(config)#end
vazov50#wr
Building configuration...
[OK] vazov50#exit

Ubuntu pptp client


sudo pptp 93.155.169.2 user sami password samipassword require-mppe-128 defaultroute

Cisco check connecting


vazov50#show ppp all
Interface/ID OPEN+ Nego* Fail- Stage Peer Address Peer Name
------------ --------------------- -------- --------------- --------------------
Vi4 LCP+ MSV2+ IPCP+ CCP+ LocalT 192.168.10.208 sami
vazov50#
vazov50#
vazov50#show vpdn tunnel pptp all

PPTP Tunnel Information Total tunnels 1 sessions 1

Tunnel id 58604, 1 active sessions
Tunnel state is estabd, time since change 00:00:04
Remote tunnel name is 93.155.130.11
Internet Address 93.155.130.11, port 40062
Local tunnel name is vazov50
Internet Address 93.155.169.2, port 1723
VPDN group: PPTP
106 packets sent, 99 received, 1646 bytes sent, 1478 received
Last clearing of "show vpdn" counters never

vazov50#

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.