Using OpenConnect without a script

Nuno Pereira nf.pereira at live.com
Wed Apr 26 15:44:15 PDT 2017


Thank you, I will take a look at that.

On 26/04/2017 22:49, Daniel Lenski wrote:
> On Apr 26, 2017 2:36 PM, "David Woodhouse" <dwmw2 at infradead.org 
> <mailto:dwmw2 at infradead.org>> 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. Currently Linux only.
>
> openconnect --script 'vpn-slice 192.168.2.0/24 <http://192.168.2.0/24> 
> foobar=192.168.2.47'
>
> http://github.com/dlenski/vpn-slice
>
> </shameless-plug>,
> Dan



More information about the openconnect-devel mailing list