cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

IPv6 support for the rest of the services

Kenneth Power shared this idea 6 years ago
Open Discussion

As of version 11.46, IPv6 is supported for Apache VirtualHosts, Dovecot, and Courier. Please add support for:

  • The FTP daemons
  • SMTP
  • MySQL
  • MariaDB
  • PostgreSQL
  • cpsrvd
  • cpdavd

In comments, please add additional services that need IPv6 support.

Replies (8)

photo
1

Would be great to add IPv6 to all areas where it can be used. That would bring cPanel one step forward in the fast moving era of technology.

photo
1

+1 on this... There's no point in keeping thins only IPv4 as of 2015. I've clients already asking...

photo
1

remote mySQL access is in great need of allowing IPv6

photo
1

+1: remote mySQL access is in great need of allowing IPv6

photo
1

Is there any progress on ipv6? Today we have just run ipv6 completely on all domains of a successful cpanel server. We need more progress on ipv6.

photo
2

No updates for you at this time, but it's still on our radar. As soon as there's any forward motion we'll let you know!

photo
1

Workaround, for PostgreSQL: Add your hosts manually to /var/lib/pgsql/data/pg_hba.conf, also SSL support is disabled, so you need to do that too by hand if you want to use hostssl in pg_hba.conf.


local samerole all        md5   
host samerole all  127.0.0.200   255.255.255.255   pam  pamservice=postgresql_cpses 
host samerole all  127.0.0.1   255.255.255.255   md5   
hostssl samerole all  ::1/128      md5  
local all all        trust   
host all postgres  127.0.0.1   255.255.255.255   md5 
Note: Some of the pg_hba entries have been edited.


In /var/lib/pgsql/data/postgresql.conf you need to add your shared IPv6 address to listen_addresses or set it to * (not tested) and enable SSL there too.


ssl = on                                # (change requires restart)
#ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'      # allowed SSL ciphers
#ssl_renegotiation_limit = 0            # amount of data between renegotiations
ssl_cert_file = '/var/lib/pgsql/data/ssl/mycpanel.pem'          # (change requires restart)
ssl_key_file = '/var/lib/pgsql/data/ssl/mycpanel.pem'           # (change requires restart)
#ssl_ca_file = ''                       # (change requires restart)
ssl_crl_file = '/var/lib/pgsql/data/ssl/mycpanel.pem'                   # (change requires restart)


CPanel SSL cert needs to be copied to a folder only readable by postgres user.


-rw------- 1 postgres postgres 8034 Mar  9 19:15 /var/lib/pgsql/data/ssl/mycpanel.pem

You're welcome.

photo
1

Thanks for this! Just for everyone's awareness, we only briefly tested this, and can't say for sure that it won't cause problems on live servers, but it seems like one potentially easy solution

photo
photo
2

it there possibility to have IPv6 suppoert for exim ? It is very important for customers sending e-mails from shared IPv4.

I can give IPv6 dedicated for every customer ...

photo
2

We need CPanel to advance over IPv6, we are already putting it by default in all the servers that we install to the clients. But it's not good for much, you can't do almost anything with IPv6.

photo
Leave a Comment
 
Attach a file