Fix config and README

This commit is contained in:
eneko committed 2026-05-18 19:43:10 +02:00
1 parent 144f20be81
commit d571db9700
2 files changed
+6 -5

No files matched your search

+3 -3
View File
@@ -4,17 +4,17 @@
### Install
1) Copy `limitator` to `/etc/init.d/`
```
scp -O limitator root@uli:/etc/init.d
scp -O limitator root@ROUTER:/etc/init.d
```
2) Run `chmod +x /etc/init.d/limitator`
3) Copy `config/limitator` to `/etc/config/`
```
scp -O config/limitator root@uli:/etc/config
scp -O config/limitator root@ROUTER:/etc/config
```
4) Edit `/etc/config/` if needed.
5) Copy `www/*` to `/www/`
```
scp -rO www root@uli:/
scp -rO www root@ROUTER:/
```
6) Run `chmod +x /www/cgi-bin/limitator.json`
7) Run `opkg update && opkg install iptables-mod-extra coreutils-date`
+3 -2
View File
@@ -1,8 +1,9 @@
config limitator 'limitator'
option monthly_quota '90'
option wan_dev 'eth1.1'
option exclude_network '10.0.2.0/24'
option exclude_network '10.0.254.0/24'
option exclude_network '10.0.1.0/24'
option exclude_network2 '10.0.3.0/24'
option exclude_network3 '10.0.0.0/24'
option iptables_forward 'FORWARD'
option iptables_input 'INPUT'
option iptables_output 'OUTPUT'