27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
#!/bin/sh
|
|
sh /setup_programs.sh
|
|
|
|
# libc6
|
|
apt install --allow-downgrades -y libc6=2.35-0ubuntu3
|
|
|
|
# obfs4proxy
|
|
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/obfs4proxy_0.0.14-1build1_amd64.deb -O /tmp/obfs4proxy.deb
|
|
dpkg -i /tmp/obfs4proxy.deb
|
|
|
|
|
|
# libevent
|
|
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libevent-2.1-6_2.1.8-stable-4build1_amd64.deb -O /tmp/libevent.deb
|
|
dpkg -i /tmp/libevent.deb
|
|
|
|
# libssl
|
|
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb -O /tmp/libssl.deb
|
|
dpkg -i /tmp/libssl.deb
|
|
|
|
# tor
|
|
# see https://deb.torproject.org/torproject.org/pool/main/t/tor/
|
|
# see https://support.torproject.org/apt/tor-deb-repo/
|
|
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/tor_0.4.8.12-1~bionic+1_amd64.deb -O /tmp/tor.deb
|
|
dpkg -i /tmp/tor.deb
|
|
|
|
rm /etc/tor/torrc
|
|
wget https://git.dfosd.synology.me/docker/ubuntu-tor/raw/branch/master/torrc -O /etc/tor/torrc |