diff options
author | Jonathan Bauer | 2020-10-26 16:26:08 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-10-26 16:26:08 +0100 |
commit | 96a2d35af100700a6ec70bc1c4101c5a9a025579 (patch) | |
tree | 4e89a84e1aeef7488daa60f1b1ab8480fc2d411a | |
parent | [safe-mode] mask ctrl-alt-del.target (diff) | |
download | mltk-96a2d35af100700a6ec70bc1c4101c5a9a025579.tar.gz mltk-96a2d35af100700a6ec70bc1c4101c5a9a025579.tar.xz mltk-96a2d35af100700a6ec70bc1c4101c5a9a025579.zip |
[redsocks] also set all_proxy
-rwxr-xr-x | core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy b/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy index 376809d4..54c81bfd 100755 --- a/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy +++ b/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy @@ -77,6 +77,7 @@ if [ "${SLX_PROXY_TYPE:0:5}" = "http-" ]; then #echo "iptables -t nat -A REDSOCKS -p tcp --dport 80 -j DNAT --to-destination ${SLX_PROXY_IP}:${SLX_PROXY_PORT}" >> "$tfile" mkdir -p "/etc/profile.d" &> /dev/null echo "export http_proxy='http://${SLX_PROXY_IP}:${SLX_PROXY_PORT}/'" + echo "export all_proxy='http://${SLX_PROXY_IP}:${SLX_PROXY_PORT}/'" echo -n "export no_proxy='${SLX_PXE_SERVER_IP}" for ADDR in $SLX_PROXY_BLACKLIST; do echo -n ", $ADDR" |