to check, with the firewall down Generals does work ?
I ones had problems running Yuri's Revenge from behind my firewall. I needed to unblock
ntoskernel to allow it access to the internet before any computer behind it [ it also was a router ] to play online.
To troubleshoot I usually cleared the logfiles, then started the application and after a failure look at the event logs. Every programm that got blocked [ or port / packet ] was then given access one by one, even if it's from another programm to see if it changes anything. I know it will be time consuming though

You could also try to edit the rule not just to allow those TCP and UDP ports but giving it full access. See if that helps. Is there an option to allow network identification in your Raptor version ? Shouldn't be anywhere near the settings for Generals. Just with the general properties or somewhere. It's an option to allow other computers on your network to find your computer. I know that even with allowing RA2 full access through the firewall, with that option turned
on you still won't be able to connect. You might want to change any of those settings just to try.
And if you are behind a router, you could try directing those ports or setting triggering rules for it. Although placing it in a DMZ just to try if it works generallt might be easier to set up in a few seconds.