How to Configure OpenVPN Client in Centos 7

Package :-

yum install openvpn -y

1. Create an OVPN file in Client Machine :-

vim client.ovpn
dev tun
proto udp
remote 1194
resolv-retry infinite
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
copy and past here ca.crt file from server side
copy and past here client.crt from server side.
copu and past here client.key from server side.
copy and past here ta.key from server side.

2. Also Download form Server side these files ca.crt client.key client.crt and ta.key :-
vim client.ovpn
ca 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 How to Configure OpenVPN Client in Centos 7 Reviewed by Unknown on September 10, 2018 Rating: 5

No comments:

Powered by Blogger.

Get Updates On

Linux Tutorial

AWS Tutorial

Devops Tutorial

We are going to send you our resources for free. To collect your copy at first, join our mailing list. So don't miss any updates, stay connected!