mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-13 18:12:03 +08:00
doc update
This commit is contained in:
+9
-4
@@ -116,7 +116,8 @@ dpd = 240
|
|||||||
# Dead peer detection for mobile clients. The needs to
|
# Dead peer detection for mobile clients. The needs to
|
||||||
# be much higher to prevent such clients being awaken too
|
# be much higher to prevent such clients being awaken too
|
||||||
# often by the DPD messages, and save battery.
|
# 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
|
mobile-dpd = 1800
|
||||||
|
|
||||||
# MTU discovery (DPD must be enabled)
|
# MTU discovery (DPD must be enabled)
|
||||||
@@ -215,8 +216,8 @@ rekey-time = 172800
|
|||||||
# option.
|
# option.
|
||||||
rekey-method = ssl
|
rekey-method = ssl
|
||||||
|
|
||||||
# Script to call when a client connects and obtains an IP
|
# Script to call when a client connects and obtains an IP.
|
||||||
# Parameters are passed on the environment.
|
# The following parameters are passed on the environment.
|
||||||
# REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client),
|
# REASON, USERNAME, GROUPNAME, HOSTNAME (the hostname selected by client),
|
||||||
# DEVICE, IP_REAL (the real IP of the client), IP_LOCAL (the local IP
|
# 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),
|
# 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
|
#disconnect-script = /usr/bin/myscript
|
||||||
|
|
||||||
# UTMP
|
# UTMP
|
||||||
|
# Register the connected clients to utmp. This will allow viewing
|
||||||
|
# the connected clients using the command 'who'.
|
||||||
use-utmp = true
|
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
|
# then ocserv must have access to register org.infradead.ocserv
|
||||||
# D-BUS service. See doc/dbus/org.infradead.ocserv.conf
|
# D-BUS service. See doc/dbus/org.infradead.ocserv.conf
|
||||||
use-dbus = true
|
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
|
# 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.
|
# 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
|
ping-leases = false
|
||||||
|
|
||||||
# Unset to assign the default MTU of the device
|
# Unset to assign the default MTU of the device
|
||||||
|
|||||||
Reference in New Issue
Block a user