Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:services:vpn:openvpn:client [2021/09/27 02:23] – [3. VPN service] reorganize content vgaeteradocs:guide-user:services:vpn:openvpn:client [2021/09/27 03:25] – [2. Firewall] vgaetera
Line 11: Line 11:
 ===== Command-line instructions ===== ===== Command-line instructions =====
 ==== 1. Preparation ==== ==== 1. Preparation ====
-Install the packages and specify the VPN client configuration parameters.+Install the required packages.
  
 <code bash> <code bash>
Line 17: Line 17:
 opkg update opkg update
 opkg install openvpn-openssl opkg install openvpn-openssl
- 
-# Configuration parameters 
-OVPN_DIR="/etc/openvpn" 
-OVPN_ID="client" 
 </code> </code>
  
 ==== 2. Firewall ==== ==== 2. Firewall ====
-Consider VPN network as public and assign VPN interface to WAN zone to minimize firewall setup.+Consider VPN network as public
 +Assign VPN interface to WAN zone to minimize firewall setup.
  
 <code bash> <code bash>
Line 42: Line 39:
 # Save VPN client profile # Save VPN client profile
 umask go= umask go=
-cat << EOF > ${OVPN_DIR}/${OVPN_ID}.conf+cat << EOF > /etc/openvpn/client.conf
 COPY_PASTE_CLIENT_PROFILE_HERE COPY_PASTE_CLIENT_PROFILE_HERE
 EOF EOF
  • Last modified: 2023/10/14 05:16
  • by vgaetera