Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:vpn:openvpn:server [2023/03/14 14:14] – [1. Preparation] vgaetera | docs:guide-user:services:vpn:openvpn:server [2023/10/14 05:14] – use service invocation vgaetera | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ==== 1. Preparation ==== | ==== 1. Preparation ==== | ||
| Install the required packages. | Install the required packages. | ||
| - | Specify | + | Specify configuration parameters |
| <code bash> | <code bash> | ||
| Line 51: | Line 51: | ||
| export EASYRSA_PKI=" | export EASYRSA_PKI=" | ||
| export EASYRSA_TEMP_DIR="/ | export EASYRSA_TEMP_DIR="/ | ||
| - | export EASYRSA_REQ_CN=" | ||
| export EASYRSA_CERT_EXPIRE=" | export EASYRSA_CERT_EXPIRE=" | ||
| export EASYRSA_BATCH=" | export EASYRSA_BATCH=" | ||
| Line 95: | Line 94: | ||
| uci set firewall.ovpn.target=" | uci set firewall.ovpn.target=" | ||
| uci commit firewall | uci commit firewall | ||
| - | / | + | service |
| </ | </ | ||
| Line 166: | Line 165: | ||
| EOF | EOF | ||
| done | done | ||
| - | / | + | service |
| ls ${VPN_DIR}/ | ls ${VPN_DIR}/ | ||
| </ | </ | ||
| Line 187: | Line 186: | ||
| <code bash> | <code bash> | ||
| # Restart services | # Restart services | ||
| - | / | + | service |
| # Log and status | # Log and status | ||