it is not working passing script parameter vpn-slice #253
-
when I put this at /etc/gpservice/gp.conf[*]
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
vpn-slice working with cmd line script parameters: Called by /usr/sbin/openconnect (PID 352889) with environment variables for vpnc-script: |
Beta Was this translation helpful? Give feedback.
-
Aug 19 16:48:08 z390 plasmashell[275586]: Default vpnc-script (override with --script): /etc/vpnc/vpnc-script |
Beta Was this translation helpful? Give feedback.
-
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: I think I need to install vpn-slice for root again but I am lazy. [*] And now it is working splitting well. Thanxx for me myself and for this program to work like charm. |
Beta Was this translation helpful? Give feedback.
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.