Difference between revisions of "Iptables"
Jump to navigation
Jump to search
(Created page with "=Enable logging= /sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " /sbin/iptables -A OUTPUT -m limit --limit 15/minute -...") |
|||
Line 2: | Line 2: | ||
/sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " | /sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " | ||
/sbin/iptables -A OUTPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " | /sbin/iptables -A OUTPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " | ||
+ | =Allow all access from one IP= | ||
+ | -A RH-Firewall-1-INPUT -s 10.93.122.33 -j ACCEPT |
Latest revision as of 07:14, 25 October 2011
Enable logging
/sbin/iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: " /sbin/iptables -A OUTPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Iptables Dropped: "
Allow all access from one IP
-A RH-Firewall-1-INPUT -s 10.93.122.33 -j ACCEPT