Overview of OpenVPN parameters

The table in the following section is a detailed list of all parameters OpenVPN offers concerning basic tunnel options. They can be used both at the command line and in configuration files.

General tunnel options

Most of these options are used to determine the way in which openvpn connects to the tunnel partner and how it deals with connections not responding or changing.

Parameter

Options

Function

Usage

local

<host>

Binds local service to the address of<host>. Useful if you want openvpn to run only on one interface of a host, with multiple home sites.

--local 192.168.0.50

remote

<host>

Connects to the host. IP or DNS are equivalent, DynDNS is possible.

--remote feilner-it.net

remote-random ...

Get Beginning OpenVPN 2.0.9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.