I added "/sbin/iptables -F" to the end of the initrun.sh with no joy.
I'd have expected that would work OK, it does for me on the R0 5.4.5 firmware.
I did notice that Hikvision have replaced the original iptables with the extended xtables-multi but my understanding is that this is a multi-call binary that should still work with the original iptables command set.
I wonder if they have used something different on the R6 firmware for the DS-2CD2442FWD-IW cameras.
I haven't unpacked that firmware to look, I don't have any of that series of cameras.
But didn't
@montecrypto post a modified R6 firmware with SSH enabled and no psh?
Yes, here it is, version 5.4.4
[MCR] R6 EN camera firmware 5.4.4 repack +SSH -PSH
You could check it out and see what he's done!