Recently I'm trying to Linux Machine (fedora 14 64-bit) for share some services to different user group, I'm wondering whether the below scenario/filtering can be achieve?
IP address: 10.0.1.0/24
IP address: 18.104.22.168/24
IP address: 192.168.1.0/24
If I'm using SSH to access the fedora with IP address 10.0.1.100/24, when I'm in this SSH session, if I'm try to ping IP address 22.214.171.124/24, I want the iptables drop the packet. Only when I'm SSH into the machine with IP address from 126.96.36.199/24 subnet then can ping through to 188.8.131.52/24 network. same in network 192.168.1.0/24, only when I'm SSH in with source IP 192.168.1.0/24 network, then I can access to the network 192.168.1.0/24.
Hope you kind can advise whether this is workable.