Brother! its ok and I can understand the urge.
But I can assure you that there are many heterosexual muslims as well who can’t get married because of certain financial or societal difficulties and have no foreseeable prospects of getting married but are suppressing that urge because of their faith in Allah. And trust me its no easier for them either.
What you can do is renew your faith in Allah and know the spirit of why you’re a Muslim and what being a Muslim entails. Know this whole scheme of Allah for this world and the end result that would unfold because of tazkiya one attains in this world.
If after doing everything in your power, your step slips along the way by any chance despite every attempt being made by you to not let it slip, repent immediately and ask for forgiveness and know that Allah is all forgiving and all merciful and will give due regard to every person’s situation and circumstances that they are faced with (its your effort and intent that matters the most).
Stay strong, keep refreshing your faith and revert back immediately in case you slip along the way. The situation must be very hard for you, but this is the test we’ve all been put through.
Msturbation is not Haram but cannot be encouraged either as it is not the natural way to statisfy one’s sexual urges, but if you indulge in this act, it cannot be declared a haram act. Porn on the other hand, is something to be restrained from on Sadd-e-Zariya principle, as it has a high tendency to make one indulge in actual acts of Zina and also creates impurity of body and thoughts (one step further than masturbation alone). However, if you genuinely in all honesty think that this will in effect save you from actaul ‘Fawahish‘ acts, then you may approach this with cautuion.
Please also refer to the following response by Ghamidi Sahab:
Discussion 33647 • Reply 33667
Please also refer to the following response by Hassan ilyas Sahab:
Discussion 33647 • Reply 34504