Actually Ayush, that’s not quite right.
The default front page role enables logged-in users to participate in front page activities. It is recommended that it is set to 'Authenticated user on frontpage'. It can also be set to Student. It should not be set to Guest.
Imran - normally, the front page of the site and the course listings (but not courses) can be read by people without logging in to the site.
In Site administration > Appearance > Navigation,
- check that the setting for "Allow guest access to Dashboard" is unticked
In Site administration > Users > Permissions > User Policies
- "Role for visitors" should be Guest
- "Role for guest" should be Guest
Also, are you using the Adaptable theme? That has a setting for Enable Home redirect=0. You can check that setting in Site administration > Appearance > Themes > Adaptable > Header Navbar. It's for use on sites where where My Home is default homepage and prevents users clicking the Home link from being redirected back to Dashboard - but it should only affect logged-in users.