Page 1 of 1

Disable IPv6 when connected to server

Posted: Thu Aug 22, 2019 10:59 pm
by daymian kieron
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.

Code: Select all

dhcp-option DNS
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?