openvpn easy installation
git clone https://github.com/Xaqron/openvpn.git
cd openvpn
sudo bash install.shDuring installation you need to specify some configurations:
- Your machine
public IPaddress - Although
UDPprotocol is recommended, you need to useTCPif you are gonna redirect traffic via stunnel later. - openvpn uses
UDP 1194as default protocol/port. If you plan to usestunnelthen aport likeuse some TCP port (i.e.443or5781194). - Use Google as
DNSprovider (option two).
If you have no plan for redirecting traffic via stunnel then just proceed with default options (except for DNS provider which is recommended to be used the google ones).
sudo bash openvpn.shClient config file (*.ovpn) will be placed at current user home.
ls ~/*.ovpn
