Last active
January 27, 2021 14:32
-
-
Save emreozkangit/4b3d3656c5c6d2b98901a6470bb8b082 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to the OpenVPN installer! | |
The git repository is available at: https://github.com/angristan/openvpn-install | |
I need to ask you a few questions before starting the setup. | |
You can leave the default options and just press enter if you are ok with them. | |
I need to know the IPv4 address of the network interface you want OpenVPN listening to. | |
Unless your server is behind NAT, it should be your public IPv4 address. | |
IP address: ******* | |
It seems this server is behind NAT. What is its public IPv4 address or hostname? | |
We need it for the clients to connect to the server. | |
Public IPv4 address or hostname: ****** | |
Checking for IPv6 connectivity... | |
Your host does not appear to have IPv6 connectivity. | |
Do you want to enable IPv6 support (NAT)? [y/n]: n | |
What port do you want OpenVPN to listen to? | |
1) Default: 1194 | |
2) Custom | |
3) Random [49152-65535] | |
Port choice [1-3]: 1 | |
What protocol do you want OpenVPN to use? | |
UDP is faster. Unless it is not available, you shouldn't use TCP. | |
1) UDP | |
2) TCP | |
Protocol [1-2]: 1 | |
What DNS resolvers do you want to use with the VPN? | |
1) Current system resolvers (from /etc/resolv.conf) | |
2) Self-hosted DNS Resolver (Unbound) | |
3) Cloudflare (Anycast: worldwide) | |
4) Quad9 (Anycast: worldwide) | |
5) Quad9 uncensored (Anycast: worldwide) | |
6) FDN (France) | |
7) DNS.WATCH (Germany) | |
8) OpenDNS (Anycast: worldwide) | |
9) Google (Anycast: worldwide) | |
10) Yandex Basic (Russia) | |
11) AdGuard DNS (Anycast: worldwide) | |
12) NextDNS (Anycast: worldwide) | |
13) Custom | |
DNS [1-12]: 3 | |
Do you want to use compression? It is not recommended since the VORACLE attack make use of it. | |
Enable compression? [y/n]: n | |
Do you want to customize encryption settings? | |
Unless you know what you're doing, you should stick with the default parameters provided by the script. | |
Note that whatever you choose, all the choices presented in the script are safe. (Unlike OpenVPN's defaults) | |
See https://github.com/angristan/openvpn-install#security-and-encryption to learn more. | |
Customize encryption settings? [y/n]: n | |
Okay, that was all I needed. We are ready to setup your OpenVPN server now. | |
You will be able to generate a client at the end of the installation. | |
Press any key to continue... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment