How does Eddie build OpenVPN directives?

The Settings → OVPN directives page controls how OpenVPN directives are built in the final configuration file.

Directives are defined in the following order:

Base directives

Changing or removing these directives may cause the client to not work properly.

Current default:

client
dev tun
auth-nocache
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
connect-retry-max 1
ping 10
ping-restart 60
explicit-exit-notify 5

Provider directives

Provider directives (specific for each provider, for example cipher)

Server directives

Server directives (specific for each server)

Computed directives

Computed directives based on other settings (for example protocols, proxy, routes etc)

Custom directives

Custom directives

If you choose Use only custom directives, only Computed directives and Custom directives are applied. This setting is generally used for debugging/testing.

If the same directive exists in different areas, and is a directive that can be specified only once, the latest is used. The following directives can be specified multiple times:

remote
route
route-ipv6
dhcp-option
plugin
x509-track
http-proxy-option
pull-filter
ignore-unknown-option
setenv