Koozali.org: home of the SME Server

firewall - iptables script

damjan

firewall - iptables script
« on: June 28, 2004, 03:00:19 PM »
Hi,

I have installed 3rd NIC in SME.
1st NIC = ADSL
2rd NIC 192.168.1.1 / 255.255.255.0
3rd NIC 192.168.2.1 / 255.255.255.0

Everything is working as it should.
What I need to do is to block IP packets from 192.168.2.0 to 192.168.1.0 network and vice versa.
Of course internet should work in both cases , just packages among those two networks should be stoped.

Probably there must be some solution with iptables scripts since routes are existing in all directions.


thx
Damjan