Auto Adsence

Monday, February 13, 2017

Openvpn For Liunx Auto login & startup runing

OpenVpn Client install and Configure it Auto login with Auto Startup

1. Install Openvpn
# sudo apt-get install openvpn


2. Copy your "xxx.ovpn" file and ".crt" file with key file in this parth
#cd /etc/openvpn


3. Crate new file with your vpn username and password in /etc/openvpn  Dir
#nano /etc/login.conf   
    user_name
    password
 After save it ".conf" file extraction. 


4. Then edit  #nano /etc/xxx-your-openvpn-file.ovpn  and change this line

Change:
auth-user-pass
To:
                auth-user-pass login.conf
Now finish,



5. Then you can config boot-up auto startup vpn
#mv /etc/openvpn/xxx.ovpn   xxx.conf 

as rename it, After reboot and check it,

 

0 comments:

Post a Comment