|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
set -eux |
|
|
|
|
|
|
|
apt-get install -y --force-yes wget git kal-scripts python |
|
|
|
apt-get install -y wget git kal-scripts python |
|
|
|
|
|
|
|
if test -z "${RELEASE:-}"; then |
|
|
|
if type -p lsb_release; then |
|
|
@ -19,7 +19,7 @@ fi |
|
|
|
# ## Update only this repo: |
|
|
|
# apt-get update -o Dir::Etc::sourcelist="sources.list.d/swupdate.openvpn.net.list" \ |
|
|
|
# -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" |
|
|
|
# apt-get -y --force-yes install openvpn |
|
|
|
# apt-get -y install openvpn |
|
|
|
|
|
|
|
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true |
|
|
|
dpkg -i deb/openvpn_*.deb || true |
|
|
@ -45,7 +45,7 @@ mkdir -p /var/run/openvpn /var/log/openvpn |
|
|
|
mkdir -p /opt/apps |
|
|
|
|
|
|
|
( |
|
|
|
apt-get install -y --force-yes python-setuptools python-twisted python-crypto python-yaml python-pyptlib |
|
|
|
apt-get install -y python-setuptools python-twisted python-crypto python-yaml python-pyptlib |
|
|
|
cd /opt/apps && |
|
|
|
git clone https://git.torproject.org/pluggable-transports/obfsproxy.git && |
|
|
|
cd obfsproxy && |
|
|
@ -54,7 +54,7 @@ mkdir -p /opt/apps |
|
|
|
|
|
|
|
## obfs4proxy does not work with OpenVPN for now. |
|
|
|
# ( |
|
|
|
# apt-get install --force-yes -y golang && |
|
|
|
# apt-get install -y golang && |
|
|
|
# cd /opt/apps && |
|
|
|
# mkdir obfs4 && |
|
|
|
# cd obfs4 && |
|
|
|