Created
January 30, 2020 06:37
-
-
Save brianlechthaler/b6498fb44afa81d2f6aa15a61e8c7502 to your computer and use it in GitHub Desktop.
HackTheBox Docker VM template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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