point to point tunneling protocol(PPTP).pptx

adnanbics79 9 views 9 slides Mar 05, 2025
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

mikrotik vpn protocol


Slide Content

Mikro T ik A complete solution of Network

PPTP Point-to-Point Tunneling Protocol PPTP is a secure tunnel for transporting IP Traffic using PPP. PPTP encapsulates PPP in virtual lines that run over IP. PPTP incorporates PPP and MPPE (Microsoft Point-to-Point Encryption) to make encrypted links. Office Router is connected to Internet through ether1 . Workstations are connected to ether2 . Laptop is connected to the Internet and can reach Office Router's Public IP (in our example it is 192.168.80.1 ).

Creating PPTP in MikroTik To configure MikroTik as a PPTP Server the steps are: Add a PPTP Server Interface that will allow incoming request from a PPTP Client Activate PPTP Server Create Username and Password for Remote PPTP Clients

PPTP Server Interface This is the Virtual Interface that allows incoming requests from Remote PPTP Clients. Procedure: PPP  Interface

PPTP Server Activation To make PPTP Server functioning we’ve to Enable PPTP Server with all authentication methods: (pap, chap, mschap1, mschap2) Procedure: PPTP  PPTP Server Default Profile is “ default-encryption ” but you can create your own profile (just like PPPoE Profile)

PPTP Username and Password Add all the PPTP Username and Password in Secrets under PPP assigning with an a Static IP (Remote Address) so that PPTP Client will obtain that IP from Server while Login. Procedure: PPP  Secrets Local Address will same for all and Remote Address will unique for each individual ID.

PPTP Dialer in Remote PC To create a PPTP Dialer in Remote PC/Laptop the steps are: 1. Go to “Open Network and Sharing Center” 2. Click “Set up a new connection or network’ 3. Click “Connect to a workplace” then “Next” 4. Click “Use my Internet connection (VPN)” 5. Enter your credentials for Username and Password then click “Create” Your Internet IP: MikroTik-WAN-IP Your Username and Password 6. Then PPTP will ready for USE.

C reate a PPTP VPN in Mikrotik Router 1 . Add Pool of IP-Addresses to be used with this service . Mikrotik = ip pool add name=PPTP-Pool ranges=192.168.19.20-192.168.19.30 2 . Create "Profile" MikroTik = ppp profile add change- tcp - mss =yes local- address=PPTP-Pool name=PPTP-Profile only-one=yes remote-address=PPTP-Pool use-encryption=yes dns - server=8.8.8.8,8.8.4.4

Create a PPTP VPN in Mikrotik Router 3. Create "Secrets" user for users/computers that will access the VPN. MikroTik = ppp secret add name= itsupportbd password= itsupportbd profile=PPTP-Profile 4. Enable PPTP VPN Server MikroTik = interface pptp -server server set authentication=chap,mschap1,mschap2 default- profile=PPTP-Profile enabled=yes 5. User Accept incoming connections in the firewall rull : MikroTik = ip firewall filter add chain=input comment=“ Softtechit VPN" dst -port=1723 protocol= tcp
Tags