Add IPv6 IP

yourweb

Verified User
Joined
Jul 6, 2010
Messages
13
I'm trying to add IPv6 to DA, but DA doesn't accept the IPv6 IP.
1. I've enabled ipv6 in the directadmin.conf (ipv6=1) and I've restarted DA.
2. I go to the IP manager, and add [IPv6 IP] , I leave the subnet as it is.
3. I get this:
Error with your request

Details

Invalid IP (1.2.3.4) or IP range (1.2.3.4-5)

I'm doing something wrong, but what?
 
Last edited:
I don't know how I solved it, but after removing the ipv6 value from the conf file and adding it by command line it worked like a charm (with restarting DA of course). An other server worked instantly with IPv6...

you can use this code to check if DA loaded the IPv6 value:
Code:
cd /usr/local/directadmin
./directadmin c | grep ipv6

If it shows ipv6=0, it means that it didn't get the config.
 
Hi,

looks like it should work.. but somehow it does not...

bash-3.2# ./directadmin c | grep ipv6
ipv6=1
bash-3.2#

how to update the directadmin.conf through the commandline?
(I manually added the line ipv6=1 in the file, on its alphabetically correct line)

thanks
 
Hi,

looks like it should work.. but somehow it does not...



how to update the directadmin.conf through the commandline?
(I manually added the line ipv6=1 in the file, on its alphabetically correct line)

thanks

This means that DA has the value, did you restart DA? What is the exact error you get and what do you fill in?
 
ip : 2__2:___:50:67d3::1 (changed some nrs to _ for security)
with a /48 prefix
subnetmast : tried:
- /48
- 48
- ffff:ffff:ffff:ffff:0000:0000:0000:0000
- empty
 
ah BINGO .... of course ... the most simple option I didn't try ....

starting to look good .... it is added, and I even see ips.conf updated correctly
(now I need to get my sites responding to IPv6 visitors)

did you make any custom changes to get the ipv6 address working with apache and added to the virtual hosts config file?

thanks for your help on the main item of this topic
 
ah BINGO .... of course ... the most simple option I didn't try ....

starting to look good .... it is added, and I even see ips.conf updated correctly
(now I need to get my sites responding to IPv6 visitors)

did you make any custom changes to get the ipv6 address working with apache and added to the virtual hosts config file?

thanks for your help on the main item of this topic

Check the updated vhosts templates, for example:
Code:
<VirtualHost |IP|:80 |MULTI_IP|>
 
that line is there, but it does not seem to parse it when regenerating the user's httpd.conf.... it only has the IPv4 address
 
that line is there, but it does not seem to parse it when regenerating the user's httpd.conf.... it only has the IPv4 address

Add the IP, in the reseller level share the IP, add the IP to a user, login as that user and in domain management select the domain and add the IP:)
 
super thanks .... that's a BKM to remember :)

now all seems to come together nicely in configs en dns ....

the last question : do I need to anything else special to the apache config?

when I try to reach a testsite through ipv6, I still get a "webserver unavailable" error
but I can ping the hostname on ipv6

I also used ipv6-test.com : "webserver unavailable"
 
super thanks .... that's a BKM to remember :)

now all seems to come together nicely in configs en dns ....

the last question : do I need to anything else special to the apache config?

when I try to reach a testsite through ipv6, I still get a "webserver unavailable" error
but I can ping the hostname on ipv6

I also used ipv6-test.com : "webserver unavailable"

Check if CSF isn't blocking it, it did with mine. /sbin/service ip6tables stop

It did work with me, however this isn't the solution so IPv6 is not available on my test machine yet:)
 
ok, so ... there still seems to be an issue with CSF and IPv6 ... although I'm using a pre v2.6.20 kernel, I did set the SPI value to 0 as instructed by CSF ....
(and the rules do allow port 80 in and out...)
so ... I'll dig deeper on this one tomorrow
but indeed ... without ipv6tables .. not going public :) ... so closing that door shut for tonight....

thanks for your help on the DA side!

if I find anything on the CSF / iptables ... I let you know here

almost midnight, so ... going to bed now :)
 
Back
Top