Openconnect does not forward traffic through tun0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would really appreciate it if you could elaborate, how exactly i can
register a script as secret-agent for NM.


On Wed, Aug 17, 2016 at 2:18 PM, David Woodhouse <dwmw2 at infradead.org> wrote:
> On Wed, 2016-08-17 at 14:14 +0430, Amirmohsen Ahanchi wrote:
>> Yes im using NetworkManager and using NetworkManager-openconnect fixed
>> the problem.
>>
>> thanks, you're a savior.
>>
>> But everytime i try to connect to vpn i have to click on "login" to connect
>> (even though i have checked the save password option).
>>
>> Is it possible to disable this procedure and connect automatically
>> (specially because i'm using nmcli to connect and i don't want any gui involved)
>
> Not quite yet. It's not hard to do it though. You could probably throw
> together a script which authenticates manually using the known username
> and password (perhaps by spawning 'openconnect --authenticate...') and
> then registers itself as  secret-agent for NM.
>
> So instead of the GUI session spawning an auth-dialog on demand to
> interact with the server and obtain the login cookie, your own secret-
> agent could provide them.
>
> --
> dwmw2



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux