apt install wget
sudo nano /etc/hosts.deny clean "#" All paranoïde
sudo mkdir /home/vincent/Downloads/
sudo apt-get install /home/vincent/Downloads/nordvpn-release_1.0.0_all.deb
sudo apt-get update
sudo apt-get install nordvpn && sudo sudo apt-get install openvpn
we die in the repertoire
cd /etc/openvpn
sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
sudo apt-get install ca-certificates
update certificates
installation of address servers
cd /etc/nordvpn/ && sudo apt-get install unzip && sudo unzip /etc/openvpn/ovpn.zip && ls && cd /etc/openvpn/ovpn_tcp
we automate:
cd /etc/nordvpn/ovpn_tcp
sudo apt-get install unzip && sudo unzip /etc/openvpn/ovpn.zip && ls && cd /etc/openvpn/ovpn_tcp
sudo find . -type f -name "*.nordvpn.com.tcp.ovpn" -exec sed -i 's/auth-user-pass/auth-user-pass auth.txt/g' {} \;
we go down from a directory
cd /etc/nordvpn/ovpn_udp
password creation opnvpn
sudo nano auth.txt
insert login insert password
we automate the change every five minutes
crontab -e
insert into the crontab file
5 * * * * "My user" systemctl start openvpn update
cd /home/vincent
in a console
Please write these commands in order to clean the firewall and DNS rules:
sudo iptables -P INPUT ACCEPT
sudo iptables -F INPUT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -F OUTPUT
sudo systemctl restart NetworkManager
Aucun commentaire:
Enregistrer un commentaire