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:
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>
ليست هناك تعليقات:
إرسال تعليق