I work tons of overtime but don’t get paid for it since I am on salary. Is this legal?

It is not legal as long as you are not exempt. If you are not an exempt employee, then you will need to get paid for all of the overtime that you work. If you are an exempt, then a salary for your work should be fine as long as you’re paid at least your minimum wages.