feat(vpn.config): add some scripts for custom connection to vpn

add custom connection script for login into cisco type vpn
master
TBS093A 2023-06-15 22:19:56 +02:00
parent 984111dab9
commit f4b2b9ea53
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
sudo killall -SIGINT openconnect;
sudo pkill -SIGINT openconnect;

1
vpn.config/vpns 100755
View File

@ -0,0 +1 @@
VPNS_LIST=(vpn.sii.pl vpn-projects.sii.pl)