1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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.

Share This Page