From f362a8dfc141515c70f685c84fd5e184a6cb7e25 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 15 Aug 2017 14:42:27 +0200 Subject: [PATCH] Some minor changes on script output. --- ip6t-firewall-server | 6 +++++- ipt-firewall-server | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ip6t-firewall-server b/ip6t-firewall-server index 1b64e4e..900a6bd 100755 --- a/ip6t-firewall-server +++ b/ip6t-firewall-server @@ -146,13 +146,14 @@ echo # --- Prevent bridged traffic getting pushed through the host's iptables rules # ------------- -echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules" +echononl "\tDo not firewall bridged traffic" if $do_not_firewall_bridged_traffic ; then $ip6t -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT echo_done else echo_skipped fi +echo @@ -162,6 +163,9 @@ fi case $1 in flush) + echo + echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m" + echo exit 0;; esac diff --git a/ipt-firewall-server b/ipt-firewall-server index 7c81529..7e9efc0 100755 --- a/ipt-firewall-server +++ b/ipt-firewall-server @@ -225,13 +225,14 @@ echo # --- Prevent bridged traffic getting pushed through the host's iptables rules # ------------- -echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules" +echononl "\tDo not firewall bridged traffic" if $do_not_firewall_bridged_traffic ; then $ipt -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT echo_done else echo_skipped fi +echo @@ -241,6 +242,9 @@ fi case $1 in flush) + echo + echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m" + echo exit 0;; esac