DD-WRT Firewall Script · GitHub
gist.github.com › stevejenkins › 4371042DD-WRT Firewall Script. Raw. firewall_skype.sh. #Enable NAT on the WAN port to correct a bug in builds over 17000. iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`. #Allow br1 access to br0, the WAN, and any other subnets (required if SPI firewall is on)
DD-WRT Firewall Script · GitHub
https://gist.github.com/stevejenkins/4371042DD-WRT Firewall Script. Raw. firewall_skype.sh. #Enable NAT on the WAN port to correct a bug in builds over 17000. iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`. #Allow br1 access to br0, the WAN, and any other subnets (required if SPI firewall is on) iptables -I FORWARD -i br1 -m state --state NEW -j ACCEPT.
Startup Scripts - DD-WRT Wiki
https://wiki.dd-wrt.com/wiki/index.php/Startup_ScriptsSave Firewall will save the commands into the rc_firewall variable. How it Works. What this does is save your string of commands to the rc_startup variable in flash memory (also known as an NVRAM variable). Since flash memory doesn't get erased on startup, your "startup script" will remain with every boot and will always execute. Custom Scripts
Startup Scripts - DD-WRT Wiki
wiki.dd-wrt.com › wiki › indexBecause of the design of the DD-WRT system, your shell script could end up being run periodically, and not just at boot (for example, all .wanup files get run multiple times at boot). This means that you'll need to ensure that only 1 copy of your program <command n> is ever run at a time.
Useful Scripts - DD-WRT Wiki
wiki.dd-wrt.com › wiki › indexWireless Network Scanner (working on DD-WRT v24) I took the above script and tweaked it to work in DD-WRT v24 firmware, with the "wl" command. To run just copy and paste in a console (telnet or ssh) or save as a "scanner.sh" and run as ./scanner.
Firewall - DD-WRT Wiki
https://wiki.dd-wrt.com/wiki/index.php/FirewallFrom DD-WRT Wiki. Jump to: navigation, search. The purpose of the firewall is to moderate traffic and/or log it. Most firewall are made for moderating ip traffic and are called ip firewalls . The simplest ip firewall has two physical interfaces normally referred to as inside (LAN) and outside (WAN, the internet).