1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

ocserv: no-route=192.168/16

This commit is contained in:
kev 2016-06-29 17:24:13 +08:00
parent 8471ca5f8c
commit 30485449c3
2 changed files with 10 additions and 3 deletions

@ -61,7 +61,7 @@ RUN set -xe \
-e 's@^try-mtu-discovery = false$@try-mtu-discovery = true@' \
-e 's@^dns =.*$@dns = 8.8.8.8@' \
-e 's@^route@#&@' \
-e 's@^no-route@#&@' \
-e 's@^no-route =.*$@no-route = 192.168.0.0/255.255.0.0@' \
/etc/ocserv/ocserv.conf \
&& cd .. \
&& apt-get purge --auto-remove -y autogen \

@ -44,7 +44,7 @@ $ docker cp ocserv_ocserv_1:/etc/ocserv/certs/client.p12 .
$ docker-compose logs -f
```
## android client
## mobile client
There are two auth types:
@ -58,9 +58,16 @@ AnyConnect ->
Advanced Preferences... ->
Certificate ->
Import ->
File System
File System: client.p12
```
## desktop client
[download](https://www.cellsystech.com/software/anyconnect/)
`client.p12` can be imported into keychain.
[1]: http://www.infradead.org/ocserv/
[2]: http://www.gnutls.org/manual/html_node/certtool-Invocation.html
[3]: http://www.infradead.org/ocserv/manual.html