sshuttle.paketlendi
This commit is contained in:
parent
c581433959
commit
fb4cdf12b5
|
@ -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
|
|
@ -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"
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue