diff options
author | Jonathan Bauer | 2017-10-18 12:58:35 +0200 |
---|---|---|
committer | Jonathan Bauer | 2017-10-18 12:58:35 +0200 |
commit | 41344756e7095d264fdf040d3a670771c9f539b2 (patch) | |
tree | e59a7cb9fec5cff44955c9e5cace5a65c7fb2c46 /core/modules/dnbd3-proxy-mode | |
parent | [dnbd3-proxy-mode] generate basic rpc.acl (diff) | |
download | mltk-41344756e7095d264fdf040d3a670771c9f539b2.tar.gz mltk-41344756e7095d264fdf040d3a670771c9f539b2.tar.xz mltk-41344756e7095d264fdf040d3a670771c9f539b2.zip |
[dnbd3-proxy] fix stupid insert instead of append
Diffstat (limited to 'core/modules/dnbd3-proxy-mode')
-rwxr-xr-x | core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy index d84fe9b2..f2edd566 100755 --- a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy +++ b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy @@ -106,7 +106,7 @@ for CIDR in ${SLX_DNBD3_WHITELIST}; do echo "iptables -I ipt-helper-INPUT 1 -i br0 -p tcp -s ${CIDR} --dport ${DNBD3_PORT} -j ACCEPT" done >> "${DNBD3_IPTABLES_CONF}" [ -n "${SLX_DNBD3_WHITELIST}" ] && \ - echo "iptables -I ipt-helper-INPUT 1 -i br0 -p tcp --dport ${DNBD3_PORT} -j REJECT" >> "${DNBD3_IPTABLES_CONF}" + echo "iptables -A ipt-helper-INPUT -i br0 -p tcp --dport ${DNBD3_PORT} -j REJECT" >> "${DNBD3_IPTABLES_CONF}" chmod +x "${DNBD3_IPTABLES_CONF}" ( |