Page 1 of 1

Configure server to listen on UDP IPv4 and IPv6 simultaneously

Posted: Sat Oct 14, 2023 7:53 pm
by matejkaj
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!

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

Posted: Tue Oct 17, 2023 8:14 am
by matejkaj
Sorry, as can be seen in netstat I have only open port for IPv4/UDP, not for IPv6.