Internal firewall with IPtables
i want to deny specific ports to my Router/server from my lan with Iptables.
I already set up a script for my firewall. I didint write it by my own so .. I have questions about to add rules to set up an internal firewall.
I want to deny Port 22 (ssh) from IP 192.168.10.3 to my router/server with IP 192.168.10.1
my rule would look like:
$IPTABLES -A INPUT -p all -i $LAN_IFACE -s 192.168.10.3 --dport 22 -j DROP
Is this correct?
thx ..i need help!!