You will need to look it up per region, I got fined because I drove past a ‘waldweg gesperrt’ sign and got caught by the ranger.
Some places it is illegal completely due to the Waldgesetz (forest act) etc.
You will need to look it up by region, or find some local 4x4ers in the area you want to go to and talk to them about where there is to go