wegare123 / stl

ssh tunnel
GNU General Public License v3.0
8 stars 14 forks source link

architecture

Default architecture aarch64_cortex-a53
Jika berbeda bisa compile sendiri file2 pendukung untuk router/sbc kalian ikuti tutorial dibawah ini:

1)apt update -y && apt upgrade && apt-get -y install tar build-essential asciidoc binutils bzip2 gawk rsync gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler

2)openwrt-sdk
Contoh download openwrt-sdk untuk architecture aarch64_cortex-a53
openwrt-sdk yang lain bisa download dilink https://downloads.openwrt.org/releases/
Pilih versi openwrt > targets > pilih architecture sesuai dengan router/sbc kalian lalu salin linknya kemudian ubah link contoh yang dibawah
wget https://downloads.openwrt.org/releases/21.02.0-rc3/targets/sunxi/cortexa53/openwrt-sdk-21.02.0-rc3-sunxi-cortexa53_gcc-8.4.0_musl.Linux-x86_64.tar.xz
tar -xf openwrt-sdk-21.02.0-rc3-sunxi-cortexa53_gcc-8.4.0_musl.Linux-x86_64.tar.xz
cd openwrt-sdk-21.02.0-rc3-sunxi-cortexa53_gcc-8.4.0_musl.Linux-x86_64

3)badvpn-tun2socks
git clone https://github.com/yazdan/tun2socks-Openwrt
cp -rf tun2socks-Openwrt/badvpn package/
rm -rf tun2socks-Openwrt/
make defconfig
make menuconfig
Pilih Network > VPN > badvpn > exit > save
make package/badvpn/compile V=99

4)corkscrew
git clone https://github.com/pfalcon/openwrt-packages.git
cp -rf openwrt-packages/net/corkscrew package/
rm -rf openwrt-packages
make menuconfig
Pilih Network > SSH > corkscrew > exit > save
make package/corkscrew/compile V=99

5)sshpass
mkdir -p package/sshpass
wget --no-check-certificate "https://www.dropbox.com/s/kr1hfprl5uwrm6u/sshpass-1.06.zip" && unzip sshpass-1.06.zip && rm -rf sshpass-1.06.zip
mv sshpass-1.06 package/sshpass/src
chmod +x package/sshpass/src/*
wget --no-check-certificate "https://www.dropbox.com/s/wp4asjlqjp2ah4s/makefile" -O package/sshpass/Makefile
make menuconfig
Pilih Utilities > sshpass > exit > save
make package/sshpass/compile V=99

stl

wget --no-check-certificate "https://raw.githubusercontent.com/wegare123/stl/main/stl/install.sh" -O ~/install.sh && chmod 777 ~/install.sh && ~/./install.sh

catatan

jika mengganti profile atau inject ulang dan lain-lain jangan lupa stop inject (pilih no 3) & disable auto rekonek & auto booting (pilih no 5) terlebih dahulu agar tidak bentrok