OpenVPN IPv4/IPv6 Dual Setup

  • Hi everyone,

    I have an OpenVPN Connection for Road Warriors which works as intended. Except for the protocol use behaviour I expected. I want to permit connections using IPv4 and IPv6. Clients should be able to connect regardless of the IP Version. Right now, if I set protocol to UDP Clients can only connect using IPv4. If I set Protocol to UDP6 clients can only connect using IPv6. I expected Option "UDP" to handle both IP Versions. Is there an option to make connections available for both, IPv4 and IPv6 on the same port / same OpenVPN instance or am I just doing something wrong?
    I added the following custom options to the Server for IPv6 Route but I think this shouldn't really have an influence in this case.

    push tun-ipv6;
    push "route-ipv6 ::/0"; 

  • LAYER 8 Global Moderator

    Just bring up a different server.. You can have more than 1.. So you could have a ipv4 udp, ipv6 udp, ipv4 tcp, ipv6 tcp. You can bring up more if need them, etc.

  • Sure. But they would listen on different ports, right? Not a giant issue but in this case I would have to roll out new client configuration. Thats what I was worried about.

    I think I found the reason, OpenVPN Version 2.3 is used in the current pfSense version which doesn't seem to work like I expected and I would have to wait for OpenVPN 2.4.
    In this case Ill just bring up another server. Thanks!

  • LAYER 8 Global Moderator

    no you can listen on port X on ipv4 and port X on ipv6..

    I would assume as soon as openvpn 2.4 comes out of beta they will move to it..

Log in to reply