Open NAL100 opened 4 years ago
if you use docker desktop in windows, you should do it like this:
docker run -v $OVPN_PKI:/etc/openvpn --rm -it kylemanna/openvpn ovpn_getclient $DEVICE > "c:\$DEVICE.ovpn"
if you use docker desktop in windows, you should do it like this:
docker run -v $OVPN_PKI:/etc/openvpn --rm -it kylemanna/openvpn ovpn_getclient $DEVICE > "c:\$DEVICE.ovpn"
I'm SSHing into my Synology NAS so it wouldn't be a drive letter type of deal.
try this:
docker run -v $OVPN_PKI:/etc/openvpn --rm -it kylemanna/openvpn ovpn_getclient $DEVICE combined
combined is already saving to file you do not need to redirect.
you put combined
after >
(redirect) and therefore it is not pass as argument to script
Hi, I am trying to run this one:
docker run -v $OVPN_PKI:/etc/openvpn --rm -it kylemanna/openvpn ovpn_getclient $DEVICE > "/volume2/folder name/$DEVICE.ovpn"
However I keep getting as an output in the folder the message that there are two parameters (three really), combined, combined-save or separate.
`This script can produce the client configuration in two formats:
So I append "combined" to the end of that line:
docker run -v $OVPN_PKI:/etc/openvpn --rm -it kylemanna/openvpn ovpn_getclient $DEVICE > "/volume2/folder name/$DEVICE.ovpn" combined
And I get the same thing happening. I've tried -combined, --combined, -combined-save, you name it. I tried assigning the path to variables and running it that way, but getting the same message, or other odd messages. I've been trying to follow this faq however when I get to generating the OpenVPN client file, that's where it stalls so I can't move further.
Also, second issue, I decided that might be too much trouble and was trying to follow this katacoda scenario for docker-compose, and ran into this error:
Any help would be great. Thanks.