|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
pentium5, have you actually read my quote about /etc/sysconfig/ipchains ? You don't need an extra script, neither mess with /etc/sysconfig/ipchains manually. Just re-init your system to a state where the rules defined in /etc/sysconfig/ipchains are still valid (therefore without your script) and type these three commands:
Code:
ipchains -A input -i eth0 -p tcp -s 216.239.46.23/24 -d 192.168.1.19 0:65535 -j DENY ipchains -A output -d 216.239.46.0/24 -j REJECT service ipchains save (I'm not sure about the third line, since I'm not using RedHat.) What's wrong with your script: 1) It's not neccessary. 2) It flushes the existing rules. What else is (imho) wrong: plz put screen captures in code tags, too. Makes them easier to read.
__________________
PHP manual | MySQL manual | Apache docs | Linux Documentation Project | Free Software Foundation Smart Questions HOWTO | PHP security | PHP FAQ | Posting HOWTO Wikipedia | English dictionary | Google | News | RFCs Thus Spoke Zarathustra | A Skeptic's Guide to Christianity | Project Gutenberg | Skeptic's Annotated Bible ParEcon | Marxists Internet Archive | The Memory Hole | Landover Baptist | DHMO Research Universal Declaration of Human Rights | UN Charter | Geneva Conventions Sinfest | Chopping Block | Filthy Lies | Bob the Angry Flower | How to Shoot Yourself In the Foot |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > still fail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|