ubuntu gateway server for connecting different networks
Hai....
Please help anyone for solving this problem, because i am a beginner in administration. I have setup an ubuntu gateway server by using four NIC cards. eth0 :210.212.235.107 is connected to the internet eth1 :192.168.1.222 is connected to the local network eth2 :192.168.2.222 is connected to another network Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.If anybody knows the rule for blocking the inter network communication ,please give me a reply. |
if u want to allow internet connection only (the communication between local networks will be dropped by iptables), u can try following rules:
Code:
iptables -F FORWARD regards |
All times are GMT -5. The time now is 02:34 PM. |