Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
jb-vpn.uk Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
OpenVPN:Client Configuration
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This document describes how to configure OpenVPN clients. == Client Files == Client configuration files (<code>.ovpn</code>) are stored in <code>/root/</code>: * <code>josh.ovpn</code> * <code>Work_MacBook_Air.ovpn</code> * <code>StrawberryNAS.ovpn</code> (Synology NAS) == Client Configuration Structure == Each client <code>.ovpn</code> file contains: * Client certificate * Client private key * CA certificate * TLS-Crypt key * Connection settings (server IP, port, protocol) == Client Configuration Directory == Per-client configurations can be placed in <code>/etc/openvpn/ccd/</code> to assign static IP addresses or custom routes. '''Current CCD Files''': * <code>StrawberryNAS</code> - Static IP configuration for Synology NAS (10.8.0.2) === Example CCD File === Example CCD file content: <pre> ifconfig-push 10.8.0.2 255.255.255.0 </pre> This assigns a static IP address (10.8.0.2) to the client named "StrawberryNAS". The second parameter is the netmask for the VPN subnet. == Client Connection == === Connecting from Client === ==== '''Install OpenVPN client''' on the device ==== == '''Import the <code>.ovpn</code> file''' into the OpenVPN client == == '''Connect''' using the client application == === Synology NAS Connection === The Synology NAS connects using <code>StrawberryNAS.ovpn</code> and typically receives IP address 10.8.0.2. === Verifying Connection === From the server, verify client is connected: <pre class="lang-bash"> ==== Check connected clients ==== cat /etc/openvpn/server/ipp.txt == Check VPN interface == ip addr show tun0 == Ping client == ping 10.8.0.2 </pre> == Related Documentation == * [Server Configuration](server-configuration.md) - Server setup * [User Management](user-management.md) - Adding new clients * [Certificate Management](certificate-management.md) - Certificate details [[Category:Documentation]] [[Category:Documentation/OpenVPN]]
Summary:
Please note that all contributions to jb-vpn.uk Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Jb-vpn.uk Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
OpenVPN:Client Configuration
Add topic