If I understand your description, it could be mapped like this:

net1 is the other building's network
net1pc1 .. net1pcN

net2 is your network
net2pc1 .. net2pcN
net2server1 .. net2server3

g1 == net1,net2
g2 == net2,Internet
 
Assumptions:
net1 and net2 are private
the default gateway for g1 is g2
g1 is using a map rule to nat net1 hosts to net2
the default gateway for g2 is on the Internet
g2 is using a map rule to nat net2 hosts to the Internet

If a net1 PC connects through g1, it would be mapped as coming from g1.
Since g1 is on net2, and g2 can route to net2, the servers using g2 as
the default route should have no problem.  My assumptions may be false.
Would you post the g1 and g2 ipf.conf and ipnat.conf, and specify what
the net1 and net2 CIDR?

Thank you,

Ben

Reply via email to