Tying a mattress to your car is not illegal. Ideally you want the front of the mattress slightly dipped so that wind can t get underneath it to lift the front up. The roof has roof racks.