Commit Graph

1115 Commits

Author SHA1 Message Date
tschettervictor
d6cbbf2ac6 quick fix 2024-12-12 18:42:52 -07:00
tschettervictor
20a291c689 add reset to help command 2024-12-12 18:40:32 -07:00
tschettervictor
9b6261346b Update rdr.rst - add reset to help 2024-12-12 18:39:43 -07:00
tschettervictor
ab54842061 error handling + add reset command to remove all rdr rules 2024-12-12 18:39:08 -07:00
tschettervictor
c6547e97cf help message docs 2024-12-12 17:26:04 -07:00
tschettervictor
4377e1413a help message conform to case command 2024-12-12 17:25:08 -07:00
tschettervictor
7ab9188b3a Use case command instead of getopts to remain consistent 2024-12-12 17:23:21 -07:00
tschettervictor
606d8da0de only persist rdr rule if it can be properly loaded, else exit 2024-12-12 16:55:56 -07:00
tschettervictor
449a0ae8e1 add check when setting source IP + supress echo output 2024-12-12 07:41:23 -07:00
tschettervictor
492b64b302 fix help usage command 2024-12-11 18:28:10 -07:00
tschettervictor
6945781e15 Add / 2024-12-11 16:41:18 -07:00
tschettervictor
4984f684e1 Update docs 2024-12-11 16:40:21 -07:00
tschettervictor
53b47306f5 better error handling 2024-12-11 16:10:11 -07:00
tschettervictor
74eab248ca add error notify to pfctl commands/add better info commands 2024-12-11 15:56:31 -07:00
tschettervictor
8f3ad2f972 change to -ge 6 2024-12-11 12:13:05 -07:00
tschettervictor
e5acf6f103 spacing 2024-12-11 12:09:09 -07:00
tschettervictor
a52b53d656 spacing 2024-12-11 11:43:08 -07:00
tschettervictor
356840a065 Update rdr.rst 2024-12-11 11:41:19 -07:00
tschettervictor
02e76f5d5f Update rdr.rst 2024-12-11 11:40:56 -07:00
tschettervictor
ac8d71bb94 Update rdr.rst 2024-12-11 11:40:33 -07:00
tschettervictor
9ce301b732 spacing 2024-12-11 11:38:53 -07:00
tschettervictor
5b7b848b12 revert listing of IP and interface 2024-12-11 11:37:16 -07:00
tschettervictor
4b5655470a add protocol to printed info 2024-12-11 11:36:10 -07:00
tschettervictor
2cff4048d1 document new changes to rdr 2024-12-11 11:35:14 -07:00
tschettervictor
7f1be3d480 more spacing 2024-12-11 11:06:33 -07:00
tschettervictor
f627aadac2 spacing 2024-12-11 11:06:16 -07:00
tschettervictor
d21b5166d7 add usage command with new switches 2024-12-11 11:05:47 -07:00
tschettervictor
035855bf01 major rewrite to allow setting TO+FROM 2024-12-11 10:57:07 -07:00
tschettervictor
471a91ca24 print IP in addition to interface when listing RDR 2024-12-10 18:46:36 -07:00
tschettervictor
622d84b6be allow specifying IP to redirect traffic to
This is for the folks who have multiple IP addresses on a single interface.
2024-12-10 18:45:06 -07:00
tschettervictor
eb65800a0c show output when creating rdr rule 2024-12-09 22:02:01 -07:00
tschettervictor
bafa183b08 remove unecessary "echo" 2024-12-09 19:27:08 -07:00
tschettervictor
2b6a7e83f9 add new interface option to docs 2024-12-09 17:58:55 -07:00
tschettervictor
1c807bbef9 Add docs about RDR multiple interfaces 2024-12-09 17:26:44 -07:00
tschettervictor
dc9822a013 also list interface when doing "list all" for published ports 2024-12-09 17:01:17 -07:00
tschettervictor
381d09592b Allow setting custom interface when doing "rdr" 2024-12-09 16:53:37 -07:00
Juan David Hurtado G
0625eafed2 Merge pull request #762 from BastilleBSD/shellcheck
github: Adds shellcheck linting action for pull requests
2024-12-08 19:32:18 -05:00
Juan David Hurtado G
00f2bf1087 github: Adds shellcheck linting action for pull requests 2024-12-08 19:31:50 -05:00
Juan David Hurtado G
e1f61fb305 Merge pull request #759 from BastilleBSD/shellcheck
Shellcheck
2024-12-08 15:13:52 -05:00
Juan David Hurtado G
85d656bd11 setup: shellcheck 2024-12-08 15:12:15 -05:00
Juan David Hurtado G
55bc30e071 Merge branch 'master' into shellcheck 2024-12-08 15:08:20 -05:00
Barry McCormick
370efb2093 Merge pull request #751 from tschettervictor/patch-3
Update usage.rst - bastille list only shows running containers
2024-12-07 19:27:56 -08:00
Barry McCormick
c9bb127cf3 Merge pull request #755 from tschettervictor/patch-4
Update setup.sh - fail setup on multiple zpool detection
2024-12-07 19:15:29 -08:00
tschettervictor
0030213ff3 Update README.md 2024-12-04 10:27:07 -07:00
tschettervictor
904c05f7fb Update bastille - list command only shows running 2024-12-04 10:26:32 -07:00
tschettervictor
052c8b7492 Update setup.sh - uppercase ZFS 2024-12-04 07:22:42 -07:00
tschettervictor
4e460abcde Update setup.sh - add additional warning to enable ZFS when adding ZPOOL 2024-12-03 18:32:54 -07:00
tschettervictor
53bd72a272 Update setup.sh - fail setup on multiple zpool detection 2024-12-03 18:26:49 -07:00
tschettervictor
8c872c708b Update usage.rst - bastille list only shows running containers
'bastille list' will only print running containers.
'-a' or 'all' is needed to print both running and stopped.
2024-11-25 10:37:41 -07:00
Juan David Hurtado G
11b75f5dad shellcheck errors: SC2068 Double quote array expansions to avoid re-splitting elements. 2024-11-24 20:49:06 -05:00