Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 96fa692

Browse files
puneetseahkok
authored andcommitted
Fix command order in tallow.conf man page
An ipset needs to be created before an iptables rule can reference it.
1 parent 71e0fc6 commit 96fa692

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

man/tallow.conf.5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ before tallow starts up and remove them afterwards. To create them
6161
manually, you can use the following commands:
6262

6363
```
64-
iptables -t filter -I INPUT 1 -m set --match-set tallow src -j DROP
6564
ipset create tallow hash:ip family inet timeout 3600
65+
iptables -t filter -I INPUT 1 -m set --match-set tallow src -j DROP
6666
67-
ip6tables -t filter -I INPUT 1 -m set --match-set tallow6 src -j DROP
6867
ipset create tallow6 hash:ip family inet6 timeout 3600
68+
ip6tables -t filter -I INPUT 1 -m set --match-set tallow6 src -j DROP
6969
```
7070

7171
## SEE ALSO

0 commit comments

Comments
 (0)