الأربعاء، 10 أغسطس 2016

Mikrotik Router PPTP Remote Access VPN Server Configuration

Point to point tunneling protocol is a method for implementing virtual private network .PPTP used controll channel over TCP and GRE  and encalsulting ppp packet.PPTP have many kind of security variability key establishment.
 


Basic Ip Address Configuration:
ip address> add address=103.7.248.206 interface=PUBLIC

ip address> add address=192.168.1.1 interface=LOCAL

/ip pool> add name=VPNPOOL ranges=192.168.1.2-192.168.1254
 NAT Configuration:
/ip firewall nat>
add chain=srcnat action=masquerade out-interface=PUBLIC
 PPP Profile Configuration:
/ppp profile

add name="VPN" local-address=192.168.1.1 remote-address=VPNPOOL use-mpls=default use-compression=default
     use-vj-compression=default use-encryption=default only-one=default change-tcp-mss=default dns-server=8.8.8.8,4.4.4.4
 PPPTP Server Configuration:
/interface pptp-server>
            add disabled=no name=VPN
/interface pptp-server server>
             set enabled=yes authentication=mschap1,mschap2
 PPTP User Create:
 /ppp secret>

/ppp secret> add name=test1 service=pptp password=123 remote-address=192.168.1.20 local-address=192.168.1.1

ليست هناك تعليقات:

إرسال تعليق