Stouts / Stouts.openvpn

Ansible role to install and configure OpenVPN server
MIT License
287 stars 207 forks source link

Implementation of IPv6 support #151

Open tricovictor opened 4 years ago

tricovictor commented 4 years ago

openvpn_ipv6_enabled is defined for ipv6 support. Also openvpm_ipv6_route_ranges, where we define an array of network ranges to use. For example: openvpn_ipv6_route_ranges:

tricovictor commented 4 years ago

Missing \ n to run molecule correctly here

nkakouros commented 4 years ago

@tricovictor Do you need sth from me to fix the PR?

tricovictor commented 4 years ago

Hi @nkakouros. I not is acquainted with Molecule but the task "Set IPv6 forwarding in the sysctl file and reload if necessary" in /task/system/fordwarding.yml is reporting:

errorIpv6

I suppose it is solved as the task but from IPV4 by placing: when: 'not lookup('env', 'IN_MOLECULE') | d(true, true) | bool' and add openvpn_ipv6_server is defined

santiagomr commented 4 years ago

I added to this PR the fix to the IP forwarding discussed here, since it's necessary for both IPv4 (#159) and IPv6.

Do you think that something else is missing to merge this PR? Please note that we (@udelarinterior) are an organization. @tricovictor, @ulvida, and I (@santiagomr) are working together on this fork.