Mikrotik User Meeting
Colombo, June 5th 2017
L2TP/IPsec Configuration with
RouterOS to work with Android
Rafi Naufal
State Vocational High School 1
Indonesia
About Me
• Rafi Naufal
• State Vocational High School 1
• Pesantren Networkers
• MTCNA, MTCRE, MTCINE
• Mikrotik Certified Consultant
• Network Trainer at INTRA Training Centre
About State Vocational High School
Networking Class
RumahNgoprek
About Pesantren Networkers
What is Virtual Private
Networking
What is VPN
Virtual Private Network is a network technology that allow you to
make a secure private network in public network.
How VPN Work?
VPN will make their private network using Tunnel to communicate over Internet.
Advantage if we use VPN
• Your ISP didn’t know what you get up to on the internet
• You appear to access the internet from the IP address of
the VPN server
• Safe to use Public Wi-Fi Hotspot
Disadvantage if we use VPN
• Your internet will slow down
L2TP
Layer 2 Tunneling Protocol
What is L2TP?
Method that you can use to make a tunnel for your VPN
If L2TP Combine with IPSec
If PPP send from one site to other site, L2TP will encrypt to packet in
L2TP Tunnel. And if we combine L2TP with IPsec, IPsec will encrypt
L2TP Tunnel.
Configure Mikrotik as L2TP
Server for Android Client
L2TP Configuration
Make IP Pool for L2TP Network
Make a new PPP Profile
L2TP Configuration
Enable L2TP Server
Make a new PPP Secret for
L2TP
Make a new IPsec Proposal for
L2TP
Configure IPsec Peer
Define that everyone who know
ipsec secret, will be connect to
ipsec server.
Configure what encryption
algorithm will we use
Configure Policy Template
Configure IPsec Policy
Configure that all address is
include.
Define what IPsec protocol
will we use
Configure Android Phone
Configuration on Android Phone
Server Address
Secret that we
have configure
on IPsec Peer
User and
password that
we have
configure in
PPP Secret
Verification
There is active connections in PPP
IPSec remote peers active
Verification
Address and user
Discuss about Network?
+62 85211179523
[email protected]
www.linkedin.com/in/rafi-naufal-ba3379118/
www.ngonfigterus.id
Terima Kasih
Thank You