mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 13:43:30 +03:00
Merge 1a08009817
into c94bc5e3b4
This commit is contained in:
commit
8ad4594a0c
2 changed files with 8 additions and 3 deletions
|
@ -6,7 +6,7 @@ This script will let you setup your own VPN server in no more than a minute, eve
|
|||
### Installation
|
||||
Run the script and follow the assistant:
|
||||
|
||||
`wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh`
|
||||
`wget https://git.io/vpn -O openvpn-install.sh && sudo bash openvpn-install.sh`
|
||||
|
||||
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
|
||||
|
||||
|
@ -15,4 +15,4 @@ You can get a little VPS for just $2.99/month at [Bandwagon Host](https://bandwa
|
|||
|
||||
### Donations
|
||||
|
||||
If you want to show your appreciation, you can donate via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VBAYDL34Z7J6L) or [Bitcoin](https://www.coinbase.com/Nyr). Thanks!
|
||||
If you want to show your appreciation, you can donate via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VBAYDL34Z7J6L) or [Bitcoin](https://www.coinbase.com/Nyr). Thanks!
|
||||
|
|
|
@ -212,7 +212,8 @@ else
|
|||
echo " 4) NTT"
|
||||
echo " 5) Hurricane Electric"
|
||||
echo " 6) Verisign"
|
||||
read -p "DNS [1-6]: " -e -i 1 DNS
|
||||
echo " 7) CensurFriDNS.dk"
|
||||
read -p "DNS [1-7]: " -e -i 1 DNS
|
||||
echo ""
|
||||
echo "Finally, tell me your name for the client certificate"
|
||||
echo "Please, use one word only, no special characters"
|
||||
|
@ -295,6 +296,10 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf
|
|||
echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server.conf
|
||||
echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server.conf
|
||||
;;
|
||||
7)
|
||||
echo 'push "dhcp-option DNS 91.239.100.100"' >> /etc/openvpn/server.conf
|
||||
echo 'push "dhcp-option DNS 89.233.43.71"' >> /etc/openvpn/server.conf
|
||||
;;
|
||||
esac
|
||||
echo "keepalive 10 120
|
||||
cipher AES-256-CBC
|
||||
|
|
Loading…
Add table
Reference in a new issue