Updating firewall rules over telnet interface?

Discussion in 'HyperWRT Firmware' started by EmmEff, Nov 24, 2005.

  1. EmmEff

    EmmEff Network Guru Member

    I want a machine behind my router to update the firewall rules on the router. I presume using some automated telnet client this should be possible. Any pointers? Thanks.
     
  2. EmmEff

    EmmEff Network Guru Member

    Followup to my own post... there's a Perl Net::Telnet module which appears to allow scripting telnet sessions.

    I plan on writing a script that will parse my Postfix mail server logs, find offending spammers, and block their IPs temporarily.

    I'll update this thread later with a script if I can figure out the iptables syntax to block hosts.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice