mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Added configuration option tunnel-all-dns
This commit is contained in:
@@ -158,11 +158,6 @@ max-clients = 16
|
||||
# multiple times). Unset or set to zero for unlimited.
|
||||
max-same-clients = 2
|
||||
|
||||
# When the server has a dynamic DNS address (that may change),
|
||||
# should set that to true to ask the client to resolve again on
|
||||
# reconnects.
|
||||
#listen-host-is-dyndns = true
|
||||
|
||||
# When the server receives connections from a proxy, like haproxy
|
||||
# which supports the proxy protocol, set this to obtain the correct
|
||||
# client addresses. The proxy protocol (v2) would then be expected in
|
||||
@@ -405,6 +400,10 @@ ipv4-netmask = 255.255.255.0
|
||||
#ipv6-subnet-prefix = 128
|
||||
#ipv6-subnet-prefix = 64
|
||||
|
||||
# Whether to tunnel all DNS queries via the VPN. This is the default
|
||||
# when a default route is set.
|
||||
#tunnel-all-dns = true
|
||||
|
||||
# The advertized DNS server. Use multiple lines for
|
||||
# multiple servers.
|
||||
# dns = fc00::4be0
|
||||
@@ -481,7 +480,7 @@ no-route = 192.168.5.0/255.255.255.0
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, rx/tx-per-sec, iroute, route, no-route,
|
||||
# explicit-ipv4, explicit-ipv6, net-priority, deny-roaming, no-udp,
|
||||
# keepalive, dpd, mobile-dpd, max-same-clients,
|
||||
# keepalive, dpd, mobile-dpd, max-same-clients, tunnel-all-dns,
|
||||
# user-profile, cgroup, stats-report-time, and session-timeout.
|
||||
#
|
||||
# Note that the 'iroute' option allows to add routes on the server
|
||||
|
||||
Reference in New Issue
Block a user