Use legacy iptables for older systems (#153)

This commit is contained in:
CaliBrain
2025-04-20 21:20:41 -04:00
committed by GitHub
parent 072bd955e9
commit 2b32c1cb95
+5 -1
View File
@@ -120,7 +120,11 @@ ENV USING_TOR=true
RUN apt-get update && \
apt-get install -y --no-install-recommends \
# --- Tor ---
tor iptables && \
tor \
# --- iptables ---
iptables && \
update-alternatives --set iptables /usr/sbin/iptables-legacy && \
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
# Cleanup APT cache *after* all installs in this layer
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
apt-get clean && \