Hello all :-)

I've 2LAN (192.168.1/24 and 192.168.2/24) with these rules:

iptables -A FORWARD -s 192.168.1/24 -d 0/0 -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -d 192.168.1/24 -j ACCEPT

and same rules for 192.168.2/24: this allow each lan see other lan.

Can I deny only lan2 (192.168.2/24) to see lan1 (192.168.1/24) but allow lan1 see lan2?

thanks!

Pol

Reply via email to