Cyberghost OpenVPN linux ubuntu internet error fix

When connected to the VPN using Cyberghost in Ubuntu, if the computer is turned off and then on again, the internet connectivity faces some issues. To fix it:

sudo ip link set wlp3s0 down
sudo ip addr flush wlp3s0
sudo ip link set wlp3s0 up
sudo dhclient -r
sudo dhclient

For “wlp3s0” use your internet adapter name

The best way to avoid this from happening is to run the below command before you turn off your computer.

sudo cyberghostvpn --stop