I need some help on the iptables to block incomming and outgoing for various types of traffic on diffrent intferfaces
but would like to allow few types for routing between these ports
Below is my scnario
PC with Ubuntu installed have 3 ethernet ports
Eth0 10.xx.xx.xx connected to a machine 10.xx.xx.xx
Eth1 90.xx.xx.xx connected to internet
Eth2 192.xx.xx.xx connected to a machine on internal network
route incomming SSH traffic from a domain name on eth1 towards eth0 where connected machine (IP) should recieve the request and drop all other incomming communications on eth1, but allow all outgoing communication
Eth2 should be able to communicate to eth0 only but etho and eth1 must not be able to communicate to eth2.
i have tried my best to depict my scnario but please ask if i left something.