mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
ocserv: no-route=192.168/16
This commit is contained in:
parent
8471ca5f8c
commit
30485449c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user