Transit and passing through Hungary
You are allowed to pass through Hungary for travelling purposes if:
you cooperate with border control (taking your temperature and providing your contact information)
you have personal identification that otherwise allows you to cross borders (ID, passport)
you can prove that your destination country is not Hungary
your destination country will allow your entry (there are no travel bans in place that you might fall under over there)
you are required to take a certain route and you may only stop at certain places (except for medical/technical problems)
you must leave the country within 24 hours
you must use one of the dedicated border checkpoints for entering and leaving (this is determined by the national police) and the
dedicated resting points along the way
Do you maybe know how I prove that my final destination is not Hungary?