Ferry crossing and driving/rest hours

Not a stupid question mate, it is better to ask, rather than not know and get a fine if stopped by the traffic police .
I also get confused by ferry and rest times.
Conflicting and different interpretations from different people adds to the confusion.
For example the two movement rules, you arrive at the port prior to getting on the ferry.

In this time, you could move five times, marshal staff ask you to move, or in wrong lane, move again.
Move to ferry entrance, told to stop to let a wide load on.
Same for arrival at destination port, customs park you up, move here, move there, move again to get a fax from the freight office.