Page 1 of 1

Create a bash script that will wrap iptables. Your program should be menu driven and perform the following tasks.: 1) Ha

Posted: Sun May 15, 2022 8:37 am
by answerhappygod
Create a bash script that will wrap iptables. Your program
should be menu driven and perform the following tasks.:
1) Have a menu to add, delete, modify, print rules for
iptables.
2) When managing the rules, should prompt for what chain (INPUT,
OUTPUT, FORWARDING) the rule should be added/deleted/modified
in.
3) When deleting, should provide validation to make sure the
user wants to remove the rules
4) Should provide a help menu
Create a bash script that will wrap iptables. Your program
should be menu driven and perform the following tasks.:
1) Have a menu to add, delete, modify, print rules for
iptables.
2) When managing the rules, should prompt for what chain (INPUT,
OUTPUT, FORWARDING) the rule should be added/deleted/modified
in.
3) When deleting, should provide validation to make sure the
user wants to remove the rules
4) Should provide a help menu