Made my comment too fast lol. But still.
I have tried the redir solution but that also did not solve my problem. Since I want to use ufw also, there may be more setup needed.
Cheers.
I currently am looking into this topic as well. What I found is that there are several methods to do so.
You could lower the config on where priviliged ports stop. I am not that deep into linix to be able to tell you if that is secure or not. But somehow that priviliged ports start at 1024 has a reason.
There’s also the possibility to run forward the traffic from port 80 which is a priviliged one to a higher port, but i somehow did not manage to make that work.
If I am correct the higher port would then also route the traffic again trough port 80 so the source of request. Difficult topic. Would love to get a good answer to that problem.

Raspberry Pi as LowCost PLC
Studying mechatronics engineering I am very interested in trying to use my spare RPi that I have lying around as a PLC to get better at programming.
Since I don't have the money to buy an industrial Controller I thought this would be a great fit. I still want to have a touch of industrial flair and I am looking into connecting a Beckhoff ethercat coupler like the EK1100 or the BK1120 to the Raspberry.
Has anyone testde this out? The question mainly is, if the raspi can function as an Ethercat master?
(Yes i run the codesys Raspi Runtime on the Pi :) )