How to stop my services from trying to bind to IPv6?
asenchi at gmail.com
Mon Aug 11 13:42:49 UTC 2008
On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> I use the default sshd config file, I'd rather not maintain one.
> As for my named.conf, I haven't enabled no IPv6 setting there either.
> Perhaps an ipv6_enable="NO" in rc.conf will do the trick?
> Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I
> tell it that I do?
Nope, quite the opposite. IPv6 is in a lot of services, and keeping
it on is a good idea (at least imho). In rc.conf you can set many
*_flags to listen on IPv4. For example:
You could also simply block all traffic on IPv6 (in pf):
block all inet6
# Curt Micol
More information about the freebsd-questions