https://github.com/lldap/lldap logo
Binding to IPv6 and IPv4 interfaces simultaneously
# troubleshooting
k
Hello, is there a way to have lldap bind to both IPv4 and IPv6 interfaces at the same time? I am running a dual-stack network at home and I would like lldap to be accessible both over IPv4 and IPv6. I tried setting "::" as the bind address as per the note in the config file, but this binds only to IPv6. Is there a way to get both? I am currently running lldap in a FreeBSD VM if that helps.
a
message has been deleted
n
You could run a reverse proxy in front and listen on both addresses, redirecting them to ipv4 (or V6)
There's no way to listen on more than one address in LLDAP
The other possibility, if you have an external (non SQLite ) DB, is to run 2 instances of LLDAP
k
Okay, thanks! I think I will just use IPv6 for now (planning to try an IPv6-mostly network at some point, and everything that would need to access LDAP currently has IPv6 connectivity). If I ever need IPv4 access I'll reverse proxy it with socat or something.