OK, in that case all what you need to do is use iptables to stop traffic to other IPs. Is your linux box configured to act as a router?
here a link for iptables:
http://iptables-tutorial.frozentux.net/iptables-tutorial.htmlWhen I posted my solution, I thought you are talking about remote systems on different places and that you have multiple links to route traffic over.