diff --git a/talimatname/genel/sshuttle/prefixes.conf b/talimatname/genel/sshuttle/prefixes.conf new file mode 100644 index 000000000..ca472b9a1 --- /dev/null +++ b/talimatname/genel/sshuttle/prefixes.conf @@ -0,0 +1,5 @@ +# Output prefixes here, one per line. Prefix is in: +# prefix/netmask format +# Like this: +# 192.168.0.0/16 +# 192.0.43.10/32 diff --git a/talimatname/genel/sshuttle/talimat b/talimatname/genel/sshuttle/talimat new file mode 100644 index 000000000..612f464da --- /dev/null +++ b/talimatname/genel/sshuttle/talimat @@ -0,0 +1,28 @@ +# Description: tcp paketleri ssh üzerinde yönlendiren şeffaf vekil sunucu +# URL: https://github.com/sshuttle/sshuttle +# Packager: milisarge +# Depends on: python3 python3-setuptools iptables net-tools + +name=sshuttle +hesap=sshuttle +version=0.78.2 +release=1.0 +source=(prefixes.conf + tunnel.conf) + +build() { + if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then + git clone https://github.com/$hesap/$name $DERLEME_KAYNAKDIZIN/$name + else + cd $DERLEME_KAYNAKDIZIN/$name + git pull + cd - + fi + + cp -r $DERLEME_KAYNAKDIZIN/$name $SRC/ + cd $SRC/$name + 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" +} diff --git a/talimatname/genel/sshuttle/tunnel.conf b/talimatname/genel/sshuttle/tunnel.conf new file mode 100644 index 000000000..64fb54edb --- /dev/null +++ b/talimatname/genel/sshuttle/tunnel.conf @@ -0,0 +1,19 @@ +# Here is where you can specify any SSH tunnel options See ssh_config(5) for +# details. You need to leave the Host line intact, but everything else can +# specify whatever you want +Host sshuttle_tunnel + +# REQUIRED: Set this to be the host to which you would like to connect your +# tunnel +#Hostname localhost + +# REQUIRED: Set this to be the target SSH user on the remote system +#User foo + +# --------------------------------------------------------------------------- +# The rest are all optional; see ssh_config(5) for the full list of what can +# be specified. Some very commonly needed ones are below. +# --------------------------------------------------------------------------- + +# SSH key used for connecting +#IdentityFile /path/to/key