EasyManua.ls Logo

Digi TransPort LR54 - Example: Openvpn Tunnel in Routing Mode with Username and Password Authentication

Digi TransPort LR54
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Virtual Private Networks (VPN) OpenVPN
Digi TransPort WR Routers User Guide
219
Command line
Enable display and logging of debugging messages on an OpenVPN server
To enable display and logging of debugging messages on an OpenVPN server, the command is
openvpn-server verb n, where n is the verbosity level for debugging messages. This value can range
from 0, which disables debugging messages, to 4, the most detail. For example to set the verbosity
level to 3:
openvpn-server verb 3
Enable display and logging of debugging messages on an OpenVPN client
To enable display and logging of debugging messages on an OpenVPN client, the command is
openvpn-client x verb n, where n is the verbosity level for debugging messages, again ranging from
0 to 4. For example:
openvpn-client 1 verb 3
Example: OpenVPN tunnel in routing mode with username and
password authentication
The following figure shows a sample OpenVPN tunnel in routing mode with username and password
authentication:
The configuration settings for the OpenVPN client and server are as follows:
OpenVPN server configuration
openvpn-server state on
openvpn-server topology subnet
openvpn-server protocol tcp
openvpn-server network 10.1.0.0
openvpn-server mask 255.255.0.0
openvpn-server cipher aes-128-cbc,aes-192-cbc
openvpn-server digest sha1
openvpn-server auth-by user-pass
openvpn-server cert ovpns.crt
openvpn-server key ovpns.key
# Client’s username and password
openvpn-user 1 username client1
openvpn-user 1 password 12345678
# Route to server’s LAN to be pushed to client
openvpn-route 1 destination 192.168.1.0
openvpn-route 1 mask 255.255.255.0

Table of Contents

Other manuals for Digi TransPort LR54

Related product manuals