Community discussions

MikroTik App
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

IKEv2 VPN and IPv6-tunneled-in-IPv6 - is this supported?

Thu Oct 11, 2018 3:33 pm

I have successfully got an IPv4 tunnel running through an IPv6 connection, and this works successfully (for the record, the config is below).

Does RouterOS support an IPv6 tunnel running through an IPv6 connection?

If so, what must the policy look like to make this work?
/ip ipsec mode-config
add address-pool=default-dhcp name=roadwarrior split-include=192.168.195.0/24
/ip ipsec peer profile
add dh-group=ecp256,modp2048,modp1536,modp1024 enc-algorithm=aes-256 hash-algorithm=sha256 name=roadwarrior
add dh-group=ecp256,modp2048,modp1536,modp1024 enc-algorithm=aes-256 hash-algorithm=sha256 name=rwipv6
/ip ipsec policy group
add name=roadwarrior
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=blowfish pfs-group=modp4096
add auth-algorithms=sha256,sha1 enc-algorithms=aes-256-cbc lifetime=8h name=roadwarrior pfs-group=none
/ip ipsec peer
add address=0.0.0.0/0 auth-method=eap-radius certificate=my-cert exchange-mode=ike2 \
    generate-policy=port-strict mode-config=roadwarrior passive=yes policy-template-group=roadwarrior profile=roadwarrior send-initial-contact=\
    no
add auth-method=eap-radius certificate=my-cert exchange-mode=ike2 generate-policy=\
    port-strict mode-config=roadwarrior passive=yes policy-template-group=roadwarrior profile=rwipv6 send-initial-contact=no
/ip ipsec policy
set 0 disabled=yes
add dst-address=192.168.200.0/24 group=roadwarrior proposal=roadwarrior src-address=0.0.0.0/0 template=yes
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: IKEv2 VPN and IPv6-tunneled-in-IPv6 - is this supported?

Thu Oct 11, 2018 4:25 pm

Maybe you're looking for Cisco's ipv6 encapsulation with GRE header? You can add ipv6 in ipv6 by this method I think.
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Re: IKEv2 VPN and IPv6-tunneled-in-IPv6 - is this supported?

Sat Oct 13, 2018 12:38 am

Maybe you're looking for Cisco's ipv6 encapsulation with GRE header? You can add ipv6 in ipv6 by this method I think.
Will this work with a MacOS / iOS / Windows 10 VPN client?

Currently IPv4-in-IPv6 works with MacOS VPN IKEv2, looking for IPv6-in-IPv6.

Who is online

Users browsing this forum: No registered users and 83 guests