You might look at these two threads…
https://forums.comodo.com/help/ultravnc_comodo_failed_to_connect_to_server-t8466.0.html;msg63479#msg63479
https://forums.comodo.com/help/pcanywhere_initial_pop_ups_approved_now_no_pop_ups_and_no_connection-t636.0.html;msg4111#msg4111
I use a remote product, but not either of those; it’s a browser-access product, which makes it all a lot simpler; no network rules are involved (other than one to allow outbound for port 443; which can be added to by including a single fixed IP). I notice that PCAnywhere has a web-based module, as well as a Gateway module that is supposed to help configure for computers behind a firewall, and UltraVNC also seems to have a webaccess as well (but still requires the IP address).
Are you doing a direct access through each IP address, to the computer’s login, web, or how exactly (since I’m not familiar with either product)?
What I’m thinking is (if you have to do a direct access, rather than browser or something)…
Can you define (within each application) the port that is used by the application? If so, what you can do is similar to the first post I linked.
In the application, specify the port (pick a high port, unlikely to be used for anything else - an Unreserved port).
In Application Monitor, make sure the appropriate executable for the running application is listed. Skip or Learn the Parent. I would suggest (for ease of use) setting it to Allow All Activities, and on the Miscellaneous Tab, Allow Invisible Connections.
In Network Monitor, Add a rule at the top to Allow In TCP or UDP (either one, or both; whatever protocol it uses) from Any IP to Any IP, from Any Port to xxxxxx Port (the one you have specified).
Do this on both computers. This is pretty much what is done for p2p applications. This does not open up your computer, and the port is not open. There must be a running application (I presume your remote connection software has an active systray entry and runs in the background) “listening” on that port, in order for the inbound connection to be allowed.
The normal methodology would be the Trusted Zone/Network route, but since your IPs change, that kinda rules that out… I think this should work. One of our other Mods, panic, knows a lot more about these than I; I’ll see if I can’t drum up his help to verify.
LM