Readme
This commit is contained in:
parent
f80922e415
commit
6429d1d56c
1 changed files with 24 additions and 5 deletions
21
README.md
21
README.md
|
@ -27,7 +27,26 @@ echo "* * * * * root /usr/bin/python3 main.py macip 2>&1 | /usr/bin/logger -t fi
|
||||||
|
|
||||||
# Usage :
|
# Usage :
|
||||||
|
|
||||||
See `./main.py --help`.
|
```
|
||||||
|
Usage: main.py [OPTIONS] COMMAND [ARGS]...
|
||||||
|
|
||||||
|
Re2o firewall manager.
|
||||||
|
|
||||||
|
Used without command, the firewall manager will load the whole firewall
|
||||||
|
(i.e. the struture, the macip set and the MAC table). By default it erases
|
||||||
|
the current NAT table and macp set. You can choose to keep the current
|
||||||
|
values for these with the flags.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--keep-nat / --dont-keep-nat Should I keep the current NAT table ?
|
||||||
|
--keep-macip / --dont-keep-macip
|
||||||
|
Should I keep the current macip set ?
|
||||||
|
--help Show this message and exit.
|
||||||
|
|
||||||
|
Commands:
|
||||||
|
macip Load the macip set.
|
||||||
|
nat Load the NAT table.
|
||||||
|
```
|
||||||
|
|
||||||
# Dependencies :
|
# Dependencies :
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue