Question

OpenVPN with IPv4 and IPv6

I’m creating a server with OpenVPN to mask my IP address using this [article](https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on -ubuntu-20-04-en) from DigitalOcean.

The setup worked perfectly when I configure Redirect All Traffic Through the VPN, all my accesses on sites with IPv4 display the Droplet’s IP.

The problem occurs when I access sites that accept IPv6, in these cases the displayed address is that of my ISP.

Below the line

net.ipv4.ip_forward = 1

I added the value

net.ipv6.conf.all.forwarding = 1

but nothing happened.

How do I also enable the use of the Droplet’s IPv6?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer