1

I am using OpenVPN 2.4.6 x86_64-redhat-linux-gnu.

[root@server sysconfig]# cat /etc/openvpn/server.conf

proto tcp-server
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key

netstat says it is listening to tcp4, but not to tcp6. How can I get it to listen to both protocols?

This question is in regard to a tcp configuration; not udp: OpenVPN with mixed ipv4 and ipv6 clients

  • Try `proto udp6` or `proto tcp6`? – Zoredache Dec 26 '18 at 06:45
  • Changing proto tcp-server to proto udp6 results in netstat stating that it is listening for udp and IPv6 - but not udp and IPv4. –  Dec 27 '18 at 15:36
  • Right, if it is listening on IPv6, it will work for both. Or at least it works for both on my system. – Zoredache Dec 27 '18 at 19:10
  • I'm specifically interested in the configuration that will get it to listen on IPv6 and IPv4. –  Dec 30 '18 at 16:01

0 Answers0