Firewall and VPN preventing accessing Internet

Firewall and VPN is preventing accessing internet via wifi. If I turn both off then I can access the internet. solution: Turn off both Firewall and VPN and reconnect to the Wifi. Once successfully connected, turn on the VPN and Firewall. It works