Openvpn + Comodo ( vpn kill switch )

Discussion in 'other firewalls' started by angpanday, May 13, 2014.

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

    angpanday Registered Member

    Joined:
    May 13, 2014
    Posts:
    1
  2. caspian

    caspian Registered Member

    Joined:
    Jun 17, 2007
    Posts:
    2,363
    Location:
    Oz
    You should probably post this in the "Privacy Problems" section.
     
  3. Abdallah

    Abdallah Registered Member

    Joined:
    Oct 28, 2013
    Posts:
    124
    Location:
    N/A
    If I understand that well , why not just use this simple commands through CMD (run as administrator) ?


    After connecting to VPN:
    Code:
    ipconfig /flushdns
    netsh interface IPv4 set dnsserver "Local Area Connection" static 0.0.0.0 both

    After disconnecting from VPN:
    Code:
    netsh interface IPv4 set dnsserver "Local Area Connection" dhcp
    ipconfig /flushdns
    

    Note that "Local Area Connection" is the interface name , you can obtain your current interface name from this command
    Code:
    netsh interface show interface

    This is a dns leak solution , but I think it should work also for what you want.
     
    Last edited: May 13, 2014
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.