It turns out that the openvpn client AND server already have ipv6 support - you can use an ipv6 tunnel by specifying either 'tcp6' or 'udp6' as the protocol. However, it is difficult to discover that this is supported in the existing UI pages for openvpn, since the protocol dropdown offers only 'udp' and 'tcp'
The workaround for now is to add an explicit line to the "Custom Configuration" section that says "proto udp6". This gets added to the end of the openvpn config, so the config file has two 'proto' specifications. One from the asus/merlin UI, and one from the custom config section. Since openvpn prefers the later lines in the file, this works out.
It would be nicer to see the 'udp6' (or 'tcp6') option in the dropdown for protocol selection, on both the openvpn server and openvpn client configuration pages. This in itself should be pretty trivial, since the string just has to make its way to the config file.
One added bonus of having this semantic understanding of the openvpn configuration is that the ipv6 firewall rules can be automatically opened as well. I brought this up on another thread, and mentioned SSH in particular. In this case, users can explicitly request an ipv6 protocol for openvpn, so it makes even more sense for the firewall to accomodate it automatically.
The workaround for now is to add an explicit line to the "Custom Configuration" section that says "proto udp6". This gets added to the end of the openvpn config, so the config file has two 'proto' specifications. One from the asus/merlin UI, and one from the custom config section. Since openvpn prefers the later lines in the file, this works out.
It would be nicer to see the 'udp6' (or 'tcp6') option in the dropdown for protocol selection, on both the openvpn server and openvpn client configuration pages. This in itself should be pretty trivial, since the string just has to make its way to the config file.
One added bonus of having this semantic understanding of the openvpn configuration is that the ipv6 firewall rules can be automatically opened as well. I brought this up on another thread, and mentioned SSH in particular. In this case, users can explicitly request an ipv6 protocol for openvpn, so it makes even more sense for the firewall to accomodate it automatically.