Open a port before factory installation of Openwrt

I've recently bought D-LINK 2640
need to install new firmware, followed the process via the recovery mode
It is not succesfull
tried all options

curl -v -i -F "firmware=@openwrt-21.02.0-ramips-mt7621-dlink_dir-2640-a1-squashfs-factory.bin"

curl -v -i -F "firmware=@openwrt-ramips-mt7621-dlink_dir-2640-a1-squashfs-factory.bin"

This hardware comes with port 80 closed. anyone knows how to force a port to be opened

When rebooting, it showed factory firmware again

See the hardware data page -

git-commit install/recovery instructions -;a=commit;h=de768829a5c6cd1c7889ba25c50db07827cfc96c