Disable IPv6 when connected to server
Posted: Thu Aug 22, 2019 10:59 pm
Sorry if this is the wrong place. I am connecting to CyberGhost with the OpenVPN client because the CyberGhost client is lacking features I need. I left everything at default but I added the following lines to make my DNS quieries go through my VPN tunnel.
My question is however is there something I can put in the config to disable IPv6 when the tunnel is active? I would like to have IPv6 enabled unless OpenVPN is currently connected to a server. Is there anyway I would be able to do this?
Code: Select all
dhcp-option DNS 184.108.40.206 register-dns block-outside-dns