2bd37ccf66
- Save a redirect and make VPN setup slightly faster by using raw.githubusercontent.com directly instead of https://github.com/hwdsl2/setup-ipsec-vpn/raw/...
8 lines
197 B
Bash
Executable File
8 lines
197 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export VPN_IPSEC_PSK=$1
|
|
export VPN_USER=$2
|
|
export VPN_PASSWORD=$3
|
|
|
|
wget -t 3 -T 30 -nv -O vpn.sh https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/vpnsetup.sh && sh vpn.sh
|