File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,28 @@ MODULE LIST
24
24
Finally, you can unload (and later reload if you wish) a module using the following command:
25
25
26
26
```
27
- MODULE unload iptables-insert
27
+ MODULE unload iptables-input-filter
28
28
```
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
29
34
```
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
31
42
(integer) 13
32
43
```
33
44
```
34
45
root@debian:~# iptables -L -n
35
46
Chain INPUT (policy ACCEPT)
36
47
target prot opt source destination
37
48
DROP all -- 192.168.188.8 0.0.0.0/0
49
+ ACCEPT all -- 192.168.188.8 0.0.0.0/0
38
50
```
39
51
You can’t perform that action at this time.
0 commit comments