Skip to content

Commit 38286e1

Browse files
authored
Update README.md
1 parent dcb2bad commit 38286e1

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,28 @@ MODULE LIST
2424
Finally, you can unload (and later reload if you wish) a module using the following command:
2525

2626
```
27-
MODULE unload iptables-insert
27+
MODULE unload iptables-input-filter
2828
```
29+
### Core
30+
* [accept.insert](https://github.com/limithit/RedisPushIptables/accept.insert) - Filter table INPUT ADD ACCEPT
31+
* [accept.delete](https://github.com/limithit/RedisPushIptables/accept.delete) - Filter table INPUT DEL ACCEPT
32+
* [drop.insert](https://github.com/limithit/RedisPushIptables/drop.insert) - Filter table INPUT ADD DROP
33+
* [drop.delete](https://github.com/limithit/RedisPushIptables/drop.delete) - Filter table INPUT DEL DROP
2934
```
30-
127.0.0.1:6379> iptables.push 192.168.188.8 192.168.188.8
35+
127.0.0.1:6379>accept.insert 192.168.188.8
36+
(integer) 13
37+
127.0.0.1:6379>accept.delete 192.168.188.8
38+
(integer) 13
39+
127.0.0.1:6379>drop.delete 192.168.188.8
40+
(integer) 13
41+
127.0.0.1:6379>drop.insert 192.168.188.8
3142
(integer) 13
3243
```
3344
```
3445
root@debian:~# iptables -L -n
3546
Chain INPUT (policy ACCEPT)
3647
target prot opt source destination
3748
DROP all -- 192.168.188.8 0.0.0.0/0
49+
ACCEPT all -- 192.168.188.8 0.0.0.0/0
3850
```
3951

0 commit comments

Comments
 (0)