feat(vpn.config): add some scripts for custom connection to vpn
add custom connection script for login into cisco type vpnmaster
parent
984111dab9
commit
f4b2b9ea53
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
source /root/linux.config/vpn.config/vpns
|
||||||
|
|
||||||
|
for vpn_address in ${VPNS_LIST};
|
||||||
|
do
|
||||||
|
|
||||||
|
sudo openconnect https://$vpn_address/ --background;
|
||||||
|
|
||||||
|
done
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
sudo killall -SIGINT openconnect;
|
||||||
|
sudo pkill -SIGINT openconnect;
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
VPNS_LIST=(vpn.sii.pl vpn-projects.sii.pl)
|
||||||
Loading…
Reference in New Issue