on the forrester it is located in the front of the engine about 50cm from the radiator near the center
You have not provided enough information for me to know what you are asking.
It is located on the engine block drivers side.
On a 1996 Subaru Legacy, the starter relay is located under the head in the relay box. The relay box is located on the driver side at the rear of the engine.
In a 1998 Subaru Legacy, the knock sensor is located on the top of the engine block and to the left of the engine. More specifically, it is under the left rear intake manifold runner.
The 2003 Subaru Legacy has a flat 4 engine.
The 2012 Subaru Legacy has a flat 4 engine.
The 2007 Subaru Legacy has a flat 4 engine.
The 2002 Subaru Legacy has a flat 4 engine.
The 2001 Subaru Legacy has a flat 4 engine.
The 2014 Subaru Legacy has a flat 4 engine.
The 2009 Subaru Legacy has a flat 4 engine.
The 2013 Subaru Legacy has a flat 4 engine.