Can't access internet from virtual machine with opnsense

I have installed OpnSense in VMware workstation 15 and configured vmnet 0 to bridged as WAN and vmnet 1 to host only as LAN , I have also installed a Linux os as host only so that it can be in same private network as OpnSense.
The problem I am having is Linux vm can’t access the internet which must be provided by OpnSense , the firewall is default and ping from and to VM is working , also ping from OpnSense to Internet is working , but no internet in Linux os .