Using OpenConnect without a script

Daniel Lenski dlenski at
Wed Apr 26 14:53:37 PDT 2017

On Wed, Apr 26, 2017 at 4:49 PM, Daniel Lenski <dlenski at> wrote:
> On Apr 26, 2017 2:36 PM, "David Woodhouse" <dwmw2 at> wrote:
> On Wed, 2017-04-26 at 18:48 +0000, Nuno Pereira wrote:
> >
> > I intend on using OpenConnect on Linux without using a script so that I
> > can set the routing and DNS manually. I have checked the documentation
> > but the only option I found is --script=SCRIPT which forces me to
> > specify a file.
> > Is there a way to configure OpenConnect to NOT use any script and don't
> > set any routes?
> > Thanks in advance.
> -s /bin/true

You may also want to check out my vpn-slice tool which makes custom
routing and hostname addition very easy. It's currently Linux-only,
but I'll probably write a Windows/JS version at some point.

openconnect --script 'vpn-slice foobar='


More information about the openconnect-devel mailing list