Update README.md
This commit is contained in:
parent
e2d4990ae1
commit
51b7c7c445
1 changed files with 30 additions and 0 deletions
30
README.md
30
README.md
|
@ -1,3 +1,33 @@
|
|||
# openvpn-install Fabio
|
||||
## Usage
|
||||
|
||||
First, get the script and make it executable:
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh
|
||||
chmod +x openvpn-install.sh
|
||||
```
|
||||
Then run it:
|
||||
|
||||
```sh
|
||||
./openvpn-install.sh
|
||||
```
|
||||
The first time you run it, you'll have to follow the assistant and answer a few questions to setup your VPN server.
|
||||
|
||||
When OpenVPN is installed, you can run the script again, and you will get the choice to:
|
||||
|
||||
Add a client
|
||||
Remove a client
|
||||
Uninstall OpenVPN
|
||||
In your home directory, you will have .ovpn files. These are the client configuration files. Download them from your server and connect using your favorite OpenVPN client.
|
||||
|
||||
if you change the port this installer change only the server if you use different port in your router port forwarder you have to change .opvn file and modify the port 1194 using the new
|
||||
|
||||
## Example:
|
||||
|
||||
in the OpenVPN use for example port 51194 and public router IP git.patachina.duckdns.org and local IP 192.168.1.4 you have to change also .ovpn file changing 1194 to 51194. In your router open a channel port forwarder with "external port 51194 and local 192.168.1.4 with port 51194"
|
||||
|
||||
Otherwise if you don't change .ovpn you have to set router open a channel port forwarder with "external port 1194 and local 192.168.1.4 with port 51194"
|
||||
|
||||
# openvpn-install
|
||||
|
||||

|
||||
|
|
Loading…
Reference in a new issue