Skip to content

Commit

Permalink
Add detailed information about openconnect (positional) arguments to …
Browse files Browse the repository at this point in the history
…README.md
  • Loading branch information
fchris82 authored and vlaci committed Mar 31, 2023
1 parent c0bbc9f commit c857000
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,29 @@ selector = "input[type=tel]"
fill = "totp"
```
### Adding custom `openconnect` arguments
Sometimes you need to add custom `openconnect` arguments. One situation can be if you get similar error messages:
```shell
Failed to read from SSL socket: The transmitted packet is too large (EMSGSIZE).
Failed to recv DPD request (-5)
```
or:
```shell
Detected MTU of 1370 bytes (was 1406)
```
Generally, you can add `openconnect` arguments after the `--` separator. This is called _"positional arguments"_. The
solution of the previous errors is setting `--base-mtu` e.g.:
```shell
openconnect-sso --server vpn.server.com/group --user user@domain.com -- --base-mtu=1370
# separator ^^|^^^^^^^^^^^^^^^ openconnect args
```
## Development
`openconnect-sso` is developed using [Nix](https://nixos.org/nix/). Refer to the
Expand Down

0 comments on commit c857000

Please sign in to comment.