Nobody on the client
This commit is contained in:
parent
f9a6339f14
commit
1f79a451b5
|
@ -198,8 +198,8 @@ function create_user_vpn_key {
|
||||||
|
|
||||||
cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf $user_vpn_cert_file
|
cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf $user_vpn_cert_file
|
||||||
sed -i "s|remote .*|remote $DEFAULT_DOMAIN_NAME 1194|g" $user_vpn_cert_file
|
sed -i "s|remote .*|remote $DEFAULT_DOMAIN_NAME 1194|g" $user_vpn_cert_file
|
||||||
sed -i 's|;user no.*|user vpn|g' $user_vpn_cert_file
|
sed -i 's|;user .*|user nobody|g' $user_vpn_cert_file
|
||||||
sed -i 's|;group no.*|group vpn|g' $user_vpn_cert_file
|
sed -i 's|;group .*|group nobody|g' $user_vpn_cert_file
|
||||||
|
|
||||||
sed -i 's|ca ca.crt|;ca ca.crt|g' $user_vpn_cert_file
|
sed -i 's|ca ca.crt|;ca ca.crt|g' $user_vpn_cert_file
|
||||||
sed -i 's|cert client.crt|;cert client.crt|g' $user_vpn_cert_file
|
sed -i 's|cert client.crt|;cert client.crt|g' $user_vpn_cert_file
|
||||||
|
|
Loading…
Reference in New Issue