26 April 2024

Setup IpSec Mikrotik Dengan Protocol ikeV2

  • Buat Ip Pool VPN
  • Sama kan Namanya dengan Script
/ip ipsec mode-config
add address-pool=pool-VPN address-prefix-length=32 name=ipsec-ikev2 system-dns=\
    no
/ip ipsec policy group
add name=ipsec-ikev2
/ip ipsec profile
add enc-algorithm=aes-256 hash-algorithm=sha256 name=ipsec-ikev2
/ip ipsec peer
add exchange-mode=ike2 name=vpn-ikev2 passive=yes profile=ipsec-ikev2
/ip ipsec proposal
add auth-algorithms=sha256,sha1 enc-algorithms=aes-256-cbc name=ipsec-iekev2 \
    pfs-group=none
/ip ipsec identity
add generate-policy=port-strict mode-config=ipsec-ikev2 peer=vpn-ikev2 \
    policy-template-group=ipsec-ikev2 secret=blendung2023
/ip ipsec policy
add group=ipsec-ikev2 proposal=ipsec-iekev2 template=yes
add group=ipsec-ikev2 proposal=ipsec-iekev2 template=yes

Untuk koneksian ke hp nya di inggat sendiri aja yaa weheheh

You may also like...