DirectAdmin not listening on ipv6?

Freeaqingme

Verified User
Joined
Sep 9, 2008
Messages
23
Location
Holland
Hey,

I'm sorry if I'm being ignorant, but I searched all over the world and have been unable to find anything :(

The problem: Whatever I do, direct admin isn't listening on ipv6:
[root@server2 custombuild]# cat /usr/local/directadmin/conf/directadmin.conf | grep ipv6
ipv6=1
[root@server2 custombuild]# service directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]
[root@server2 custombuild]# netstat -lantup | grep 2222
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN 9119/directadmin
[root@server2 custombuild]#

I would expect to see another line in the netstat output mentioning somthing like :::2222 but up to today there isn't :'(

Thanks.
 
Yes, did, but currently it's just not supported. So I was told by John by email.

For people finding this thread who are willing to do the same as I do they can either use socat:
socat TCP6-LISTEN:2222,fork TCP:127.0.0.1:2222

or use mod_proxy & apache.
 
No, I'm not using CSF. The problem here is that DirectAdmin (the serversoftware itself) just doesn't listen on ipv6.

The code above contains an error, by putting the following in /etc/rc.local (or just executing it) you can actually make it listen on ipv6:
Code:
( socat TCP6-LISTEN:2222,fork,ipv6only TCP4:127.0.0.1:2222 &)&
 
Back
Top