Difference between revisions of "Mikrotik: VPN PPTP"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
/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 | + | 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= | + | add name=onno password=123456 profile=contoh-profile |
− | add name=test password=123456 profile= | + | add name=test password=123456 profile=contoh-profile |
− | add name=admin password=123456 profile= | + | add name=admin password=123456 profile=contoh-profile |
Cek User connect | Cek User connect | ||
Line 18: | Line 17: | ||
/interface pptp-server print | /interface pptp-server print | ||
+ | |||
+ | Alternatif | ||
+ | |||
+ | # /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 05:58, 19 February 2022
/interface pptp-server server set enabled=yes /interface pptp-server server set enabled=yes default-profile=contoh-profile /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=contoh-profile add name=test password=123456 profile=contoh-profile add name=admin password=123456 profile=contoh-profile
Cek User connect
/interface pptp-server print
Alternatif
# /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