2
Create the block
then go to System Admin -> Groups
edit the Anonymous Users Group and assign Block Access Rights to the custom block
You may want to uncheck the access right to registered users by editing Registered User Group, if you want to show block only to the anonymous users.
Xoops, by default, always assigns the access right to the registerd users when you create blocks.