As an experiment I wanted to try to do an ipv6 only install again.
(ipv4 public IP’s are exhausted and often carry additional cost, both in a DC and at home)
IPv6 can fix that.
Things I discovered:
- The install script will fail with network unreachable on both alma and debian with slightly different errors both related to networking “error code 7” and something about that it can’t get something it wants from github (notoriously not ipv6 compliant).
The fix: Use NAT64+DNS64 DNS Servers like:
- 2a01:4f9:c010:3f02::1
- 2a01:4f8:c2c:123f::1
- 2a00:1098:2c::1
these are from nat64.net
- After that script wil succeed installing correctly; slight cosmetic fault, it will print the IPv6 with port 10000 without Brackets. For a browser to open it the IPv6 should be printed with Brackets like [ and ]
Example:
[SUCCESS] Installation Complete!
[SUCCESS] If there were no errors above, Virtualmin is ready to be configured
[SUCCESS] at https://purev6.vom-bruch.org:10000 (or
[SUCCESS] https://2a0e:97c0:711:38c::1:10000).
Should be
https://[2a0e:97c0:711:38c::1]:10000
- After Running through the Wizard you will get the following Errors:
AH00526: Syntax error on line 367 of /etc/httpd/conf/httpd.conf:
<VirtualHost> directive requires additional arguments
this is beacuse is empty and has no IP or port.
You can fix by adding ipv6’s and ports.
for example:
<VirtualHost [2a0e:97c0:711:38c::1]:443>
After fixing those errors you will get a new error:
AH00112: Warning: DocumentRoot \[/home/.\_hostname/public_html\] does not exist
AH00526: Syntax error on line 399 of /etc/httpd/conf/httpd.conf:
SSLCertificateFile: file '/etc/ssl/virtualmin/178156572434850/ssl.combined' does not exist or is empty
to fix you need to add the actual path instead of the placeholder “.\_hostname”
and remove the cert line. This applies to the FQDN of the host.
Afterwards you can request a new SSL cert plus wildcard.
Afterwards it appears many things work without errors.
Some odd things, A records despite no IPv4 is on eth0
On Alma with BIND there is no error, on debian 13 there is an error in the re-check config about something with 127.0.0.2 but it still mostly works.
I hope that in the future we can get more ipv6 only friendly.
