Update manage_iptables
This commit is contained in:
parent
bb23fe7651
commit
9f3c44496d
@ -112,3 +112,19 @@ while true; do
|
|||||||
case $option in
|
case $option in
|
||||||
1)
|
1)
|
||||||
add_to_chain
|
add_to_chain
|
||||||
|
;;
|
||||||
|
2)
|
||||||
|
remove_from_chain
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
check_ip_address
|
||||||
|
;;
|
||||||
|
4)
|
||||||
|
echo "Exiting..."
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Invalid option. Please try again."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
Loading…
x
Reference in New Issue
Block a user