* Arie Reynaldi Z <[EMAIL PROTECTED]> [02-09-07 20:51]:
 [...]
> I did this, but that IP still can access my site. Here's my config.
> Options Indexes FollowSymLinks
> Order Deny,Allow
> Deny from 75.126.21.163
 [...]

/etc/sysconfig/SuSEfirewall2
  FW_CUSTOMRULES="/etc/sysconfig/scripts/SuSEfirewall2-custom"

/etc/sysconfig/scripts/SuSEfirewall2-custom
  fw_custom_after_antispoofing() { # could also be named 
/"before_port_splitting()"
    # these rules will be loaded after the anti-spoofing and icmp
    # handling
    # but before any IP protocol or TCP/UDP port allow/protection rules
    # will be set.
    # You can use this hook to allow/deny certain IP protocols or
    # TCP/UDP
    # ports before the SuSEfirewall2 generated rules are hit.
  iptables -I INPUT 1 -s 75.126.21.163 -j DROP



-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711         Photo Album:  http://wahoo.no-ip.org/gallery2
        OpenSUSE Linux             http://en.opensuse.org/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to