openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openvpn [2018/04/30 14:23] – kroduit | openvpn [2019/06/17 06:22] (current) – maferreira | ||
---|---|---|---|
Line 4: | Line 4: | ||
- Install mandadory packages< | - Install mandadory packages< | ||
- | apt-get install openvpn curl jq vim --no-install-recommends </ | + | apt-get install openvpn |
- | - Debian jessie (8) and stretch (9) repository have an old easy-rsa version (2.2) and we need at least 3.0.4, so we use github release.< | + | - Debian jessie (8) and stretch (9) repository have an old easy-rsa version (2.2) and we need at least 3.0.4, so we use github release. |
+ | < | ||
+ | wget --no-check-certificate | ||
tar -xvzf EasyRSA-3.0.4.tgz | tar -xvzf EasyRSA-3.0.4.tgz | ||
rm EasyRSA-3.0.4.tgz | rm EasyRSA-3.0.4.tgz | ||
- | mv EasyRSA-3.0.4/ | + | mv EasyRSA-3.0.4/ |
- | - Generate a 2048 RSA public and private key for centrale, with server5 (use sub ca), and add them in < | + | </code> |
+ | <note warning> | ||
+ | - Generate a 2048 RSA public and private key for centrale, with server5 (use sub ca), and add them in < | ||
+ | vim / | ||
vim / | vim / | ||
- | chmod 660 port_number.key port_number.crt #both files must belong to root: | + | chmod 660 port_number.key port_number.crt #both files must belong to root:root |
+ | </ | ||
- Generate diffie hellman file< | - Generate diffie hellman file< | ||
- Generate additonal key for tls-auth mode< | - Generate additonal key for tls-auth mode< | ||
Line 38: | Line 44: | ||
- Uncomment lan specified in epilog, when vpn is necessary | - Uncomment lan specified in epilog, when vpn is necessary | ||
- reload< | - reload< | ||
+ | - Make a try! | ||
+ | - get config file from easygateway-web | ||
+ | - connect to centrale with tunnelblick | ||
+ | - try ping or vnc over vpn | ||
+ | - Monit openvpn? |
openvpn.1525098238.txt.gz · Last modified: 2018/04/30 14:23 by kroduit