mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
typo
This commit is contained in:
parent
d5342a9e1d
commit
54341eaa50
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if [ -e /etc/openvpn/server.conf ]; then
|
|||
sed -i "s|ca ca.crt|ca ca@$IP.crt|" $CLIENT@$IP.conf
|
||||
sed -i "s|cert client.crt|cert $CLIENT@$IP.crt|" $CLIENT@$IP.conf
|
||||
sed -i "s|key client.key|key $CLIENT@$IP.key|" $CLIENT@$IP.conf
|
||||
# add an .ovpn file which is essentially the .conf file for client's openvpn gui tool
|
||||
# add an .ovpn file which is essentially the .conf file for client-side openvpn GUI tool on Windows
|
||||
cp $CLIENT@$IP.conf $CLIENT@$IP.ovpn
|
||||
tar -czf ../ovpn-$CLIENT.tar.gz $CLIENT@$IP.conf $CLIENT@$IP.ovpn ca@$IP.crt $CLIENT@$IP.crt $CLIENT@$IP.key
|
||||
cd ~/
|
||||
|
|
Loading…
Add table
Reference in a new issue