Waterfox with icedtea and proxychains to access IPMI through a SSH proxy. LibreTexts internal use.
1.3K
Usage: docker run --rm -e DISPLAY=$DISPLAY -v ~/.Xauthority:/home/user/.Xauthority:ro -v /tmp/.X11-unix/X$(echo $DISPLAY|grep -o '[0-9]*$'):/tmp/.X11-unix/X$(echo $DISPLAY|grep -o '[0-9]*$') -v ~/.ssh:/home/user/.ssh -h $(hostname) rkevin/ipmihell:latest
Should only work on Linux systems using X11. You might be able to fanangle it to work on other systems, but it's not guaranteed. Also expects your SSH key and config to be set correctly so you can ssh rooster without a password.
Dockerfile:
FROM archlinux:latest
COPY waterfox-current-bin-2020.08-1-x86_64.pkg.tar.zst /tmp/
RUN pacman -Syu --noconfirm icedtea-web proxychains-ng jre8-openjdk openssh && \
pacman -U --noconfirm /tmp/waterfox-current-bin-2020.08-1-x86_64.pkg.tar.zst && \
yes | pacman -Scc && \
rm /tmp/waterfox-current-bin-2020.08-1-x86_64.pkg.tar.zst && \
useradd -m user
USER user
WORKDIR /home/user
COPY proxychains.conf .proxychains/proxychains.conf
COPY entrypoint.sh ./
CMD ["bash", "entrypoint.sh"]
entrypoint.sh:
#!/bin/bash -e
ssh -ND1234 rooster &
exec proxychains waterfox-current
proxychains.conf:
strict_chain
[ProxyList]
socks5 127.0.0.1 1234
waterfox-current-bin-2020.08-1-x86_64.pkg.tar.zst is built on my host machine using makepkg.
Content type
Image
Digest
Size
518.6 MB
Last updated
almost 6 years ago
docker pull rkevin/ipmihell