Skip to content

Instantly share code, notes, and snippets.

@brianlechthaler
Created January 30, 2020 06:37
Show Gist options
  • Save brianlechthaler/b6498fb44afa81d2f6aa15a61e8c7502 to your computer and use it in GitHub Desktop.
Save brianlechthaler/b6498fb44afa81d2f6aa15a61e8c7502 to your computer and use it in GitHub Desktop.
HackTheBox Docker VM template
#!/bin/sh
#IMPORTANT:
# Make sure to place this dockerfile in a directory
# with your (username).ovpn profile from your connection path!!!
#NB: You can change this to any debian-based distro
FROM kalilinux/kali-linux-docker
RUN apt-get update ; apt-get upgrade -y
RUN apt-get install -y openvpn
#this places the config where it needs to be in /etc/
# ... and will probably break if this exact path is deprecated
ADD . /etc/openvpn/client/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment