I installed SQL Server 2008 R2 on 6 machines. They are to be placed in 2 offices, 3 in each. I created a database instance and I used VB6 and was able to link both perfectly. I was also able to connect the machines that share the same network using the IP address. But when I tried to connect machines from the other network, I couldnt. I turned off the Firewall on all machines, made configurations for TCP/IP on all machines.
How should I connect the machines that are from another network?
Can I use the public IP address?
If so, what should I type in the login form on SSMS?