I am bridging 2 networks, but only want the Bridge machine to see both networks.
I need a server that is visible from 2 networks. I think I just solved my own question.
I have a network of Phone agents who need access to the database server, but no external access. They run Winblowz. This was fine, because the database was also offline. But Now, we are adding a server that is accessible from the WWW so that different iso's can connect to use and send us data that we can use on our internal network.
I've set up a bridge using bridge-utils and brctl, and would like to know how i can use iptables to filter traffic out so that the networks dont see each other. but i guess what i should really do is leave each nic configured individually, but in that case help me here:
NIC A: 192.168.1.50
NIC B: 192.168.1.90 (i know, should be on a diff subnet, w/e)
How can I use iptables to say (when i connect to machines 192.168.1.1-50, use eth0, and 192.168.1.51-200 use eth1.
Also you think I should just change the subnet of one of the networks?
also what do i need to know about ipforwarding? thank you guys!