# Tanım: tcp paketleri ssh üzerinde yönlendiren şeffaf vekil sunucu # URL: https://github.com/sshuttle/sshuttle # Paketçi: milisarge # Gerekler: python3 python3-setuptools iptables net-tools libffi # Grup: ağ isim=sshuttle hesap=sshuttle surum=0.78.2 devir=1.0 kaynak=(prefixes.conf tunnel.conf) derle() { if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then git clone https://github.com/$hesap/$isim $DERLEME_KAYNAKDIZIN/$isim else cd $DERLEME_KAYNAKDIZIN/$isim git pull cd - fi cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/ cd $SRC/$isim python3 setup.py build python3 setup.py install --root="$PKG" -O1 install -d "$PKG/etc/sshuttle" install -m644 "$SRC"/{tunnel.conf,prefixes.conf} "$PKG/etc/sshuttle" }