Configure server to listen on UDP IPv4 and IPv6 simultaneously

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
matejkaj
OpenVpn Newbie
Posts: 2
Joined: Sat Oct 14, 2023 7:43 pm

Configure server to listen on UDP IPv4 and IPv6 simultaneously

Post by matejkaj » Sat Oct 14, 2023 7:53 pm

Hello,
I am trying to configure OpenVPN server to listen both on IPv4 and IPv6 UDP simultaneously, thus in my server.conf I've set, as said in OpenVPN documentation https://openvpn.net/community-resources ... envpn-2-5/, variable proto udp.
Unfortunately when I try to list open ports using netstat -tunlp I have there open only port for IPv6/UDP

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:1194 0.0.0.0:* -


Do I understand the documentation correctly that if in server.conf is set proto udp, server should listen both on IPv4 and IPv6, or do I have to make any other changes?

Thank you for your advice!

matejkaj
OpenVpn Newbie
Posts: 2
Joined: Sat Oct 14, 2023 7:43 pm

Re: Configure server to listen on UDP IPv4 and IPv6 simultaneously

Post by matejkaj » Tue Oct 17, 2023 8:14 am

Sorry, as can be seen in netstat I have only open port for IPv4/UDP, not for IPv6.

Post Reply