################################ VPN with openvpn ################################### ~the open source code, free version, can the found at https://openvpn.net/community/ ~the debian/ubuntu version pack (also free, but tend to have fairly old versions) # is 'openvpn' ### install openvpn using the road warrior script on github (revised on 2024/04/05, ### it seemed ok): wget https://github.com/Nyr/openvpn-install/raw/master/openvpn-install.sh chmod +x openvpn-install.sh ./openvpn-install.sh ### answer the questions during installation: # > your IP # > Protocol: UDP # > Port: 443 (since https uses tcp and openvpn will use udp in this configuration, # there will be no conflict by using the same port) # > DNS (of your choice): 1.1.1.1 # > Client name: whatever_you_like ### (if you are not logged in as root) move the generated file to your home and ### change permissions: sudo mv whatever_you_like.ovpn /home/username sudo chown username /home/username/whatever_you_like.ovpn ### (optional) disable the logs (#go_privacy!): nano /etc/openvpn/server/server.conf # change the 'verb' line to 0: verb 0 # restart the openvpn server: systemctl restart openvpn-server@server.service ### copy the generated file to the client device # use winscp on windows or sftp on linux, example on linux: sftp username@server_IP get whatever_you_like.ovpn exit ######## openvpn client~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # this version is free-to-use and is available for many plataforms (Windows, Android, # Linux, etc...): https://openvpn.net/client/ # install this client-version on your client, then follow the instructions on it to # connect to your server!!! #########################################################################################