August 31, 2016

Remote Desktop L2TP VPN Server Configuration Using Mikrotik Router



L2TP used by service providers to provide VPN service over the internet.It is extension protocol of PPTP.L2TP dose no support encryption or confidentiality .L2TP packet including payload and header is sent  within UDP.L2TP have two endpoints LAC and LNS.
L2TP full meaning Layer 2 Tunneling Protocol,L2TP is Microsoft propitiatory,that can support Remote desktop VPN Server without any other VPN Software.It is easy to configure.

 Basic Ip Address Parameter Configuration:
[admin@LaxmiTani]/ip address> add address=103.7.248.206 interface=PUBLIC
[admin@LaxmiTani]/ip address> add address=192.168.1.1 interface=LOCAL

[admin@LaxmiTani]/ip pool> add name=VPNPOOL ranges=192.168.1.100-192.168.254


[admin@LaxmiTani]/ip firewall nat>
add chain=srcnat action=masquerade out-interface=PUBLIC

[admin@LaxmiTani]/ppp profile

add name="VPN" local-address=192.168.1.1 remote-address=VPNPOOL  dns-server=8.8.8.8,4.4.4.4


[admin@LaxmiTani]/interface l2tp-server>
            add disabled=no name=VPN
[admin@LaxmiTani]/interface l2tp-server server>
             set enabled=yes  

 /ppp secret>
[admin@LaxmiTani]/ppp secret> add name=test1 service=l2tp password=123 remote-address=VPNPOOL local-address=192.168.1.1
 
[admin@LaxmiTani]/interface Ethernet>set LOCAL arp=proxy-arp


No comments:

Post a Comment