Add these line in existing firewall Or run a Script
Posted: Fri Jun 23, 2006 11:11 pm
Internet Cable Network ( Selected Mac allow)
Firstly i want to drop all traffic afterthat i want to allow ip one by one.
Guide me i enter these line in existing Firewall or run in a script.
Drop All Traffice.
iptables -A INPUT -s 0/0 -j REJECT
-------------------------------------------------------------
Allow one by one all mac.
iptables -A INPUT -i eth0 -s 192.168.143.25 -m mac --mac-source
00-08-C7-39-CA-47 -j ACCEPT
Najeeb Ahmed
Firstly i want to drop all traffic afterthat i want to allow ip one by one.
Guide me i enter these line in existing Firewall or run in a script.
Drop All Traffice.
iptables -A INPUT -s 0/0 -j REJECT
-------------------------------------------------------------
Allow one by one all mac.
iptables -A INPUT -i eth0 -s 192.168.143.25 -m mac --mac-source
00-08-C7-39-CA-47 -j ACCEPT
Najeeb Ahmed