Parrot os internet not working properly

I install parrot os latest security version but my internet is not work properly.in virtual i set NAT network connection.but it doesn’t work properly i can’t browse anything or can’t download any package but when i am switch NAT to bridge network connection that time i can browse internet but can’t download/update any package on terminal.But another interesting thing is when i enable anonymous mode than i can browse and also download /update any package.but when i turn off anonymous mode then it will again not work.why it is happening.i already configure dns /etc/resolvconf
Server 8.8.8.8 8.8.4.4 and others like 192.168.0.1/198.168.1.1 also try but didn’t work anything.please can anyone help me.how i can overcome this