ikev2 remote access vpn - mikrotik...summary • ikev2 is supported in current routeros versions,...

22
IKEv2 Remote Access VPN MUM China - October 19, 2019 Jesse Liu, Lethbridge

Upload: others

Post on 19-Jun-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

IKEv2 Remote Access VPN

MUM China - October 19, 2019Jesse Liu, Lethbridge

Page 2: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

About Me

• Jesse Liu, Lethbridge– Over 13 years experience using RouterOS– Specialization in Wireless, Tunnel and Routing– MikroTik MTCNA, MTCWE, MTCTCE– Cisco CCNP, CCDP (R&S)

2

Page 3: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Summary

• IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP-MSCHAPv2, which is covered in this presentation.

• How to implement IKEv2 remote access VPN using RouterOS for Windows, macOS, Linux, iOS/iPadOS, Android/ChromeOS and BlackBerry clients.

• Clients do not need to import certificates and special settings just need to create a connection.

3

Page 4: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

IPsec vs. PPP

4

Page 5: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Public IP

• Static or dynamic public IP.• This can also be the public IP of a gateway in

front of a downstream router if the upstream gateway is port forwarding UDP ports 500 and 4500.

5

Page 6: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

DNS

• Static public IP only needs to create a DNS A record.

• Dynamically tracks IP changes via IP Cloud DDNS and a DNS CNAME record.

6

Page 7: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Certificates

• Root CA (root.pem)• Intermediate CA (intermediate.pem)• Server certificate (v.leth.top.pem) and

private key (v.leth.top.key)• Doesn't support wildcard certificates (e.g. *.leth.top)

7

Page 8: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Correct date/time setting

8

Page 9: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Compatible RADIUS server

• FreeRADIUS• Windows NPS• TekRADIUS

9

Page 10: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

FreeRADIUS server

10

Page 11: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Group and Proposal

11

Page 12: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Policy template

12

Page 13: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Pool and Mode config

13

Page 14: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Peer and Identity

14

Page 15: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

RADIUS client

15

Page 16: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Windows client

16

Page 17: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

macOS client

17

Page 18: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Linux Mint client

18

Page 19: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

iOS/iPadOS client

19

Page 20: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

Android and ChromeOS client• https://play.google.com/store/apps/details?id=org.strongswan.android• https://download.strongswan.org/Android/

20

Page 21: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

RouterOS client

21

Page 22: IKEv2 Remote Access VPN - MikroTik...Summary • IKEv2 is supported in current RouterOS versions, and one way to make it work is by using EAP - MSCHAPv2, which is covered in this presentation

More information at: https://wiki.mikrotik.com/wiki/Manual:IP/IPsec

Thank you for participating