Skip to content

it is not working passing script parameter vpn-slice #253

Closed Answered by alansenairj
alansenairj asked this question in Q&A
Discussion options

You must be logged in to vote

I solved the problem. It was caused by misunderstanding which python it uses to launch vpn-slice. I decide to hardcode this path where vpn-slice is installed. In my system is:
/root/.pyenv/shims/vpn-slice

I think I need to install vpn-slice for root again but I am lazy.

[*]
openconnect-args=--script "/root/.pyenv/shims/vpn-slice -v --dump 172.26.1.0/16 172.26.2.0/16 172.26.3.0/16 172.26.4.0/16 172.26.5.0/16 172.26.6.0/16 172.26.7.0/16 172 .26.8.0/16 172.31.42.0/16 172.23.0.0/16"

And now it is working splitting well.

Thanxx for me myself and for this program to work like charm.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yuezk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant