summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data
diff options
context:
space:
mode:
authorSimon Rettberg2022-12-15 15:43:41 +0100
committerSimon Rettberg2022-12-15 15:43:41 +0100
commit1d7942e8ffdbb649d975e38dbbf282d28d87d902 (patch)
tree0cc7c2748086a85dadc397f7971b2da9dd01f4af /core/modules/run-virt/data
parent[bwlp-stage4-tweaks] Move common files from rfs-stage32 to own module (diff)
downloadmltk-1d7942e8ffdbb649d975e38dbbf282d28d87d902.tar.gz
mltk-1d7942e8ffdbb649d975e38dbbf282d28d87d902.tar.xz
mltk-1d7942e8ffdbb649d975e38dbbf282d28d87d902.zip
[dnbd3-proxy-mode/run-virt] Firewall: Whitelist dnbd3-servers if local caching is enabled
We patch the config to say 127.0.0.1 is the only dnbd3 server, discarding the actually configured servers. This breaks the automatic whitelisting of the dnbd3 servers/proxies if a vm/course has firewalling enabled.
Diffstat (limited to 'core/modules/run-virt/data')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/scripts/set-firewall1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/scripts/set-firewall b/core/modules/run-virt/data/opt/openslx/vmchooser/scripts/set-firewall
index 51047a99..a1af17dc 100644
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/scripts/set-firewall
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/scripts/set-firewall
@@ -77,6 +77,7 @@ add_ips "IN" "127.0.0.0/8" 0 "ACCEPT"
add_ips "OUT" "127.0.0.0/8" 0 "ACCEPT"
add_ips "OUT" "$SLX_DNS" 53 "ACCEPT"
add_ips "OUT" "$SLX_DNBD3_SERVERS" 5003 "ACCEPT"
+add_ips "OUT" "$SLX_DNBD3_FALLBACK" 5003 "ACCEPT"
add_ips "OUT" "$SLX_KCL_SERVERS $SLX_SERVER_IP" 0 "ACCEPT"
# sssd