I am trying to add a VPN to my Raspberry Pi NAS, that I have created, so I can access it away from home while still securing my network.
I am currently going through the OpenVPN for Docker walk through: https://github.com/kylemanna/docker-openvpn/blob/master/README.md and when I try to run the following command:
docker run -v $OVPN_DATA:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM
I get this error:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/a rm64/v8) and no specific platform was requested
exec /usr/local/bin/ovpn_genconfig: exec format error
and when adding --platform linux/amd64/v8
I just get:
exec /usr/local/bin/ovpn_genconfig: exec format error.
NAS Build: Raspberry Pi 4 (128 GB SD, 8 GB RAM), External HDD 1 TB, Rasbian OS lite 64, and Open Media Vault as my NAS OS.
Is there a way I can fix this so the command goes through, or isn't this a viable option to secure my home NAS?