Difference between revisions of "Mikrotik: VPN PPTP"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
 +
 +
 +
 +
Cek User connect
 +
 +
/interface pptp-server print
 +
 +
Alternatif GAGAL
 +
 +
/interface pptp-server server set enabled=yes default-profile=default-encryption
 +
/ip pool
 +
add name=ppp-pool ranges=172.16.0.100-172.16.0.200
 +
/ppp profile
 +
add local-address=172.16.0.1 name=default-encryption remote-address=ppp-pool use-encryption=required
 +
 +
Alternatif GAGAL
  
 
  /interface pptp-server server set enabled=yes default-profile=default-encryption authentication=chap,mschap1,mschap2,pap keepalive-timeout=30
 
  /interface pptp-server server set enabled=yes default-profile=default-encryption authentication=chap,mschap1,mschap2,pap keepalive-timeout=30
 
 
 
  /ppp profile
 
  /ppp profile
 
  add name=contoh-profile remote-address=dhcp_pool0 local-address=dhcp_pool0 use-encryption=required  
 
  add name=contoh-profile remote-address=dhcp_pool0 local-address=dhcp_pool0 use-encryption=required  
 
 
  /ppp secret
 
  /ppp secret
 
  add name=onno password=123456 profile=default-encryption
 
  add name=onno password=123456 profile=default-encryption
Line 10: Line 26:
 
  add name=admin password=123456 profile=default-encryption
 
  add name=admin password=123456 profile=default-encryption
  
Cek User connect
 
 
/interface pptp-server print
 
 
 
Alternatif
 
 
# /interface pptp-server server set enabled=yes default-profile=default-encryption
 
# /ip pool
 
# add name=ppp-pool ranges=172.16.0.100-172.16.0.200
 
# /ppp profile
 
# add local-address=172.16.0.1 name=default-encryption remote-address=ppp-pool use-encryption=required
 
  
 
==Referensi==
 
==Referensi==
  
 
* https://dokter-squid.com/pptp-mikrotik/
 
* https://dokter-squid.com/pptp-mikrotik/

Revision as of 06:10, 19 February 2022



Cek User connect

/interface pptp-server print

Alternatif GAGAL

/interface pptp-server server set enabled=yes default-profile=default-encryption
/ip pool
add name=ppp-pool ranges=172.16.0.100-172.16.0.200
/ppp profile
add local-address=172.16.0.1 name=default-encryption remote-address=ppp-pool use-encryption=required

Alternatif GAGAL

/interface pptp-server server set enabled=yes default-profile=default-encryption authentication=chap,mschap1,mschap2,pap keepalive-timeout=30
/ppp profile
add name=contoh-profile remote-address=dhcp_pool0 local-address=dhcp_pool0 use-encryption=required 
/ppp secret
add name=onno password=123456 profile=default-encryption
add name=test password=123456 profile=default-encryption
add name=admin password=123456 profile=default-encryption


Referensi