Disable ipv6 debian wheezy..

Discussion in 'ISPConfig 3 Priority Support' started by keshwarsingh, Jul 16, 2013.

Thread Status:
Not open for further replies.
  1. keshwarsingh

    keshwarsingh HowtoForge Supporter

    Hello,

    Is the a proper way to disable ipv6 on wheezy ?
     
  2. till

    till Super Moderator

    The following command works for squueze and I expect that it works for wheezy as well:

    Code:
    echo 'net.ipv6.conf.all.disable_ipv6=1' > /etc/sysctl.d/disableipv6.conf
    and then reboot the server.
     
  3. keshwarsingh

    keshwarsingh HowtoForge Supporter

    Did that..

    Upon reboot, i can still see some service listening on v6
     
  4. till

    till Super Moderator

    Please check the file /etc/sysctl.d/disableipv6.conf, if the line in that file is enclosed in ', then remove ' at the beginning and the end of the line and reboot.
     
  5. keshwarsingh

    keshwarsingh HowtoForge Supporter

    There is no ' ...

    This workaround works on squeeze, but not on wheezy
     
  6. till

    till Super Moderator

    I had a typo in the path, please use this path:

    /etc/sysctl.d/disable-ipv6.conf
     
Thread Status:
Not open for further replies.

Share This Page