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

firewall.sh - maximum size

Discussion in 'HyperWRT Firmware' started by HillJack, Mar 8, 2005.

  1. HillJack

    HillJack Network Guru Member

    First off, thanks for the excellent firmware Avenger20!

    Is there a maximum size that the firewall script can be? I'm using iptables to DROP incoming SMTP connections from various subnets and it's growing rather large, with comments and all the rules.

  2. Avenger20

    Avenger20 Network Guru Member

    On a WRT54G V2.x or WRT54GS, the firewall.sh can grow as large as the nvram partition. You can check how much is left, using the "nvram show" command.
  3. HillJack

    HillJack Network Guru Member

    Cool, so if nvram show indicates size: 15289 bytes (17479 left), and my current firewall.sh is 5395 bytes, I'm good for up to 23k (give or take from 17479 + 5395), right?

Share This Page