Save: Disable IPv6

Discussion in 'Windows 7' started by ThomasMann, Jul 26, 2022.

  1. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,770
    295
    60
    I keep disabling IPv6, because my VPN tells me that because it, WebRTC is leaking my location.
    Yet, there is no way of saving this disabled setting, and when I check it regularly, it shows IPv6 enabled again

    Is there a way to save the disabled setting?

    Thank you
     
  2. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,355
    7,070
    210
    #2 Carlos Detweiller, Jul 26, 2022
    Last edited: Jul 28, 2022
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]
    "DisabledComponents"=dword:000000ff
    
    
    Wouldn't that get rid of it?
     
  3. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,770
    295
    60

    Thank you.
    At DisabledComponents I have: REG_DWORD 0x00000008 (8)
     
  4. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,754
    2,682
    120
    There is some inconsistency between various MS docs, some suggest 0x000000FF, some suggest 0xFFFFFFFF, whatever... both works to disable completely the IPv6 stack.
     
  5. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,770
    295
    60
    So I will create a new restore point and change the reg entry?
     
  6. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,754
    2,682
    120
    A restore point for a single edit seem a bit overkill
    Export the reg key or just take a note of the original value.
     
  7. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,770
    295
    60
    According to surfshark, the enabled IPv6 causes even the active VPN connection to leak via WebRTC.
    I will see, when Surfshark and Wireguard answer, it seems to be their tunnel. But I understand too little of this...

    Thank you all very much....
     
  8. GrofLuigi

    GrofLuigi MDL Member

    Sep 17, 2016
    211
    505
    10
    Just untick the IPv6 here (and possibly on every connection), and if that doesnt work, uninstall it. You can add it back later if needed.

    (I can not post links... "here" refers to your image.)
     
  9. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,208
    982
    90
    #15 LiteOS, Jul 27, 2022
    Last edited: Jul 28, 2022
    create a backup cos it might be too extreme
    run autoruns
    search v6
    delete the entries
     
  10. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,770
    295
    60
    "The only correct one strictly speaking is 0x000000ff"... and that is exactly what my setting is.
    I am using the wireguard protocol in Surfshark VPN, and that protocol enables IPv6 every time, it is started, which in turn then causes the WebRTC leak.

    A Linux user found that out a year ago and wrote about on reddit.
    The reddit link is given by Acer further up
     
  11. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    829
    694
    30
    In theory, all IPv6 interfaces should be disabled except for the loopback ::1 which is required apparently because it is used internally by the kernel.
    So I have no idea why you still notice IPv6 traffic, unless it uses loopback somehow.
     
  12. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,208
    982
    90