ocserv: Added option to pass split-dns configuration to clients

Relates to #1975

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2015-11-25 00:04:03 +01:00
parent 94c43deb9f
commit 95383f479a
4 changed files with 25 additions and 3 deletions
+16
View File
@@ -105,6 +105,22 @@ config ocservusers
-----------------------------------------------------------------
```
Setting up split-dns
====================
To allow the clients to resolv with the local domain add the following
to the ocserv configuration file.
```
----/etc/config/ocserv-------------------------------------------
config ocserv 'config'
option split_dns '1'
option default_domain 'mydomain'
```
The ```default_domain``` is optional and if not set, it will be autodetected
from dnsmasq's configuration.
Setting up the firewall
=======================