mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
doc update
This commit is contained in:
@@ -116,7 +116,8 @@ dpd = 240
|
||||
# Dead peer detection for mobile clients. The needs to
|
||||
# be much higher to prevent such clients being awaken too
|
||||
# often by the DPD messages, and save battery.
|
||||
# (clients that send the X-AnyConnect-Identifier-DeviceType)
|
||||
# The mobile clients are distinguished from the header
|
||||
# 'X-AnyConnect-Identifier-DeviceType'.
|
||||
mobile-dpd = 1800
|
||||
|
||||
# MTU discovery (DPD must be enabled)
|
||||
@@ -215,8 +216,8 @@ rekey-time = 172800
|
||||
# option.
|
||||
rekey-method = ssl
|
||||
|
||||
# Script to call when a client connects and obtains an IP
|
||||
# Parameters are passed on the environment.
|
||||
# Script to call when a client connects and obtains an IP.
|
||||
# The following parameters are passed on the environment.
|
||||
# REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client),
|
||||
# DEVICE, IP_REAL (the real IP of the client), IP_LOCAL (the local IP
|
||||
# in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
|
||||
@@ -225,9 +226,11 @@ rekey-method = ssl
|
||||
#disconnect-script = /usr/bin/myscript
|
||||
|
||||
# UTMP
|
||||
# Register the connected clients to utmp. This will allow viewing
|
||||
# the connected clients using the command 'who'.
|
||||
use-utmp = true
|
||||
|
||||
# D-BUS usage. If disabled occtl tool cannot be used. If enabled
|
||||
# D-BUS usage. If disabled the occtl tool cannot be used. If enabled
|
||||
# then ocserv must have access to register org.infradead.ocserv
|
||||
# D-BUS service. See doc/dbus/org.infradead.ocserv.conf
|
||||
use-dbus = true
|
||||
@@ -290,6 +293,8 @@ dns = 192.168.1.2
|
||||
|
||||
# Prior to leasing any IP from the pool ping it to verify that
|
||||
# it is not in use by another (unrelated to this server) host.
|
||||
# Only set to true, if there can be occupied addresses in the
|
||||
# IP range for leases.
|
||||
ping-leases = false
|
||||
|
||||
# Unset to assign the default MTU of the device
|
||||
|
||||
Reference in New Issue
Block a user