Package :-
yum install openvpn -y
1. Create an OVPN file in Client Machine :-
vim client.ovpnclient
dev tun
proto udp
remote 13.232.251.207 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
#comp-lzo
verb 3
<ca>
copy and past here ca.crt file from server side
</ca>
<cert>
copy and past here client.crt from server side.
</cert>
<key>
copu and past here client.key from server side.
</key>
<tls-auth
copy and past here ta.key from server side.
</tls-auth>
2. Also Download form Server side these files ca.crt client.key client.crt and ta.key :-
vim client.ovpnca ca.crt
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
Note :- if you don't Use 1 first step so please Use 2 Step and download there files Same location which you run client.ovpn file.
Check Your Internet IP Address in Google.
3. Run the Command in Client Machine :-
openvpn --config client.ovpn
Verity the ip OpenVPN Server IP Address in Google.
4. If you want to Run this command in Backgroup :-
nohup openvpn --config client.ovpn &
How to Configure OpenVPN Client in Centos 7
Reviewed by cloudwalebhaiya
on
September 10, 2018
Rating:
Reviewed by cloudwalebhaiya
on
September 10, 2018
Rating:


No comments: