aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: e1963639439cfd69ff95a7b9fb2eb2aa419e61c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# EphermalVPN

EphermalVPN is a simply set of scrits to manage an aphermal vpn for scaleway
provider.

For the moment you MUST read each script to understand what each script do !

This set of scripts use the set of scripts of 
[setup-ipsec-vpn](https://github.com/hwdsl2/setup-ipsec-vpn).

The objectif is to automate the installation and the configuration of a VPN on
the server and on the client. For now the server and the client are configured
to use a IPsec/LTP VPN.

# Script list

## install_srv.sh
This script is the first script to lauch, it set the psk key, the user and the
password, create and launch a vpn server and configure the client.

**NOTE: This script launch the script of configure the client who is on 
archlinux ! If your an note on archlinux, edit the script before !**

## server_instal.sh.sample
This script install and configure the VPN server. For now it just install the
IPsec/LTP VPN via the set of the of 
[setup-ipsec-vpn](https://github.com/hwdsl2/setup-ipsec-vpn). No rule of
security is added !

**NOTE: The variable `VPN_IPSEC_PSK`, `VPN_USER` and `VPN_PASSWORD` are
modified by the install_srv.sh script !**

## client_config_archlinux.sh.sample
This script configure the client. You must run `client_install_archlinux.sh`
before for install the required package. And this two script works only with
archlinux.

## server_remove.sh
This script stop and remove a server. Only this script have some comments if
you don't used correctly.

Usage exemple:

```sh
sh remove_server.sh 429ab1dc
```

## server_create.sh
This script is an old test script for create a server. But some command are
replaced by the scaleway API. It not used for now.