This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ipfilter.local in 3.020

hi:
Hi need to add a custom filter rule in my box asl 3.020 but script /sbin/init.d/ipfilter.local (chmod 400 )dont work.

Any ideas
Regards  


This thread was automatically locked due to age.
Parents
  • Have you tried the rule interactivley at console?

    Have you tried logging the output of the rule? (>>/sbin/init.d/ipfilter.log; don't forget to eventually deactivate it since it will use up disk space...)

    Have you tried iptables --LIST io see what's going on?
       
  • At console all rigth, but Automatically dont work.
    I make the file /sbin/init.d/ipfilter.local
    I added the command
    I chmoded 400 the file
    I need to do samething more????

    Regards   
  • The script gets invoked on boot and when rules change. (By the way; don't forget to delete rules you add; otherwise they will build up. So delete the rules you know you added, then add the new ones...)

    Does your script do what it should if you source it? (source /sbin/init.d/ipflter.local)
      
Reply
  • The script gets invoked on boot and when rules change. (By the way; don't forget to delete rules you add; otherwise they will build up. So delete the rules you know you added, then add the new ones...)

    Does your script do what it should if you source it? (source /sbin/init.d/ipflter.local)
      
Children