Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openconnect-sso doesn't work with vpn-slice? #137

Open
vladimirpekez opened this issue Aug 8, 2023 · 2 comments
Open

openconnect-sso doesn't work with vpn-slice? #137

vladimirpekez opened this issue Aug 8, 2023 · 2 comments

Comments

@vladimirpekez
Copy link

Hey I noticed that openconnect-sso doesn't work with vpn-slice:

It returns:

Too many arguments on command line

after 2FA browser popup

To reproduce:

openconnect-sso supp.vpnhost.com \ 
    --script 'vpn-slice internaldomain internal CIDR range'
@waldner
Copy link

waldner commented Aug 14, 2023

May be related to #135 ?

@Jonyder
Copy link

Jonyder commented Apr 2, 2024

I'm using openconnect-sso version 0.8.1 and vpn-slice is working fine. I'm using some additional config as well, the full command I use (cleaned up specific names):

sudo OPENSSL_CONF=/Users/Username/Documents/Software/openssl.cnf openconnect-sso --server vpnserver.com --authgroup 'groupname' openconnect_args --printcookie --verbose --force-dpd=60 --csd-wrapper=/Users/Username/Documents/Software/hostscan-bypass-master/hostscan-bypass.sh --os=mac-intel --useragent='Cisco AnyConnect VPN Agent for Mac OS X 5.1.0.136' --version-string='5.1.0.136' -s 'vpn-slice --prevent-idle-timeout 192.168.1.0/24 10.0.0.0/8'

The key is using: openconnect_args
See openconnect-sso --h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants