SERVER_IP=x.x.x.x
CONFIGURATION_FOLDER=/root/openvpn
docker run -v ${CONFIGURATION_FOLDER}:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -n 84.200.69.80 -n 84.200.70.40 -u tcp://${SERVER_IP}:443
docker run -v ${CONFIGURATION_FOLDER}:/etc/openvpn --rm -it kylemanna/openvpn ovpn_initpki
docker run -v ${CONFIGURATION_FOLDER}:/etc/openvpn -d -p 443:1194/tcp --cap-add=NET_ADMIN kylemanna/openvpn
🧙♂️
Nicolas Pierson (nclsprsn) ===========
Bangkok, Thailand | nicolas.pierson@cornerside.fr |
https://www.nclsprsn.xyz | https://github.com/nclsprsn |
Stuff I've done
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
### Keybase proof | |
I hereby claim: | |
* I am nclsprsn on github. | |
* I am nclsprsn (https://keybase.io/nclsprsn) on keybase. | |
* I have a public key whose fingerprint is 6C7B 3E20 7D7C 0570 EE12 9F99 3555 1653 908E DEA3 | |
To claim this, I am signing this object: |