Assuming the threads in the tank are ok, thread a new section of line into the tank that will go through the cab about 1-1/2" and slightly flare the end. Clamp a few inches of hose to the existing hard line (slightly flared.) Now you have a flexible connection between cab and frame to absorb vibration etc.