apt install wget
sudo nano /etc/hosts.denyclean "#" All paranoïde cd /home/vincent/Downloads/ && wget https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb sudo apt-get install /home/vincent/Downloads/nordvpn-release_1.0.0_all.debsudo apt-get updatesudo apt-get install openvpnwe die in the repertoire cd /etc/openvpnsudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zipsudo apt-get install ca-certificatesupdate certificates
installation of address servers
sudo apt-get install unzip && sudo unzip /etc/openvpn/ovpn.zip && ls && cd /etc/openvpn/ovpn_tcp
we automate:
sudo find . -type f -name "*.nordvpn.com.tcp.ovpn" -exec sed -i 's/auth-user-pass/auth-user-pass auth.txt/g' {} \;
cd /etc/openvpn/ovpn_udp
sudo find . -type f -name "*.nordvpn.com.udp.ovpn" -exec sed -i 's/auth-user-pass/auth-user-pass auth.txt/g' {} \;we go down from a directory
cd /etc/openvpn/ovpn_tcppassword creation opnvpn sudo nano auth.txtinsert login insert password
we automate the change every five minutes crontab -einsert into the crontab file 5 * * * * "My user" systemctl start openvpn updatecd /home/vincent
Aucun commentaire:
Enregistrer un commentaire