Configuring PPTP (VPDN) Server On A Cisco Router
If you need to allow VPN access to your network from the outside world then setting your Cisco router up to be a PPTP server is an easy way to do it.
Firstly we need to enable VPDN:
vpdn enable ! vpdn-group 1 accept-dialin protocol pptp virtual template 254
Now we need to create the virtual template:
interface virtual-template 254 ip unnumbered fastethernet 0/0 peer default ip address pool pptp-pool no keepalive ppp encrypt mppe auto ppp authentication ms-chap ms-chapv2
Once the Virtual template has been configured we need to create the IP address pool that will be assigned to the PPTP client:
ip local pool pptp-pool 192.168.0.50 192.168.0.60
We will now need to create the username and password that will allow the PPTP client to authenticate with the router:
username pptpuser password pptppassword
Finally we need to allow PPTP through any access-lists we may have on the incoming interface by appending the configuration below:
access-list 123 permit tcp any host 94.142.65.249 eq 1723 access-list 123 permit gre any any
No comments:
Post a Comment