Set each program on each computer to use a different port.
Set each computer to use the same internal IP address [192.1668.x.x]
whenever they boot up instead of getting an address randomly.
Once you have unique ports for each program and your internal IP addressses are locked to their
respective computers, go to this site and find the instructions for port-forwarding incoming connections
to your computers.
[Configure your router]