Skip to content

Skynet Lite - IP Blocking For ASUS Routers Using IPSet.

Notifications You must be signed in to change notification settings

wbartels/IPSet_ASUS_Lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Skynet Lite - Firewall & Security Enhancements

Lightweight firewall addition for ARM/HND based ASUS Routers using IPSet. Skynet Lite relies on the IPTables from Skynet by Adamm.

I started this proof of concept for my own use and to demonstrate two new features:

  • Only update new or changed ipsets.
  • Use the ipset swap feature.

But I couldn't stop when I learned programming in shell script. The main focus of this project is the update process.

Key features

  • Small one file shell script, no need for an external USB drive.
  • Support for plain text gzip transfer-encoding.
  • Only download and update changed blocklist sets.
  • Use incremental update for all blocklist sets.
  • For all other lists the ipset swap feature is used.

Installation

Ensure you have an Asuswrt-Merlin firmware and enabled the JFFS2 partition:

Administration > System > Enable JFFS custom scripts and configs: Yes > Apply

Type the following line in your favorite SSH Client:

curl https://raw.githubusercontent.com/wbartels/IPSet_ASUS_Lite/master/firewall.sh --output /jffs/scripts/firewall && chmod 755 /jffs/scripts/firewall && /jffs/scripts/firewall reset

Uninstall

Type the following line in your favorite SSH Client:

/jffs/scripts/firewall uninstall

Commands

firewall
firewall 8.8.8.8
firewall dns.google
firewall fresh
firewall frequency
firewall entries
firewall debug
firewall warning
firewall error
firewall update
firewall reset
firewall uninstall
firewall help

To make the commands above available from all directories, type the following line in your favorite SSH Client:

echo 'export PATH=$PATH:/jffs/scripts' >> '/jffs/configs/profile.add'

Donate to Skynet by Adamm

This script will always be open source and free to use, but if you want to support future development you can do so by Donating With PayPal.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%