rtorrent & jellyfin
This commit is contained in:
1 parent
7a4e422bd5
commit
884ae1f841
2 files changed
+15
No files matched your search
@@ -64,6 +64,12 @@ elif [ "${HOST}" == "serverhost" ]; then
|
|||||||
echo Deluge Daemon
|
echo Deluge Daemon
|
||||||
iptables -A INPUT -p tcp --dport ${DELUGE_PORT} -m state --state NEW,ESTABLISHED -j ACCEPT
|
iptables -A INPUT -p tcp --dport ${DELUGE_PORT} -m state --state NEW,ESTABLISHED -j ACCEPT
|
||||||
iptables -A OUTPUT -p tcp --sport ${DELUGE_PORT} -m state --state ESTABLISHED -j ACCEPT
|
iptables -A OUTPUT -p tcp --sport ${DELUGE_PORT} -m state --state ESTABLISHED -j ACCEPT
|
||||||
|
iptables -A INPUT -p tcp --dport 8096 -j ACCEPT
|
||||||
|
iptables -A INPUT -p udp --dport 8096 -j ACCEPT
|
||||||
|
iptables -A INPUT -p tcp --dport 4533 -j ACCEPT
|
||||||
|
iptables -A INPUT -p udp --dport 4533 -j ACCEPT
|
||||||
|
iptables -A INPUT -p tcp --dport 13378 -j ACCEPT
|
||||||
|
iptables -A INPUT -p udp --dport 13378 -j ACCEPT
|
||||||
fi
|
fi
|
||||||
echo "Incoming SSH -P $SSHPORT"
|
echo "Incoming SSH -P $SSHPORT"
|
||||||
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport $SSHPORT -j ACCEPT
|
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport $SSHPORT -j ACCEPT
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TORRENT_PATH="$1"
|
||||||
|
|
||||||
|
echo "$@" >> /home/lucas/.LOG/log_torrentlog.txt
|
||||||
|
|
||||||
|
/home/lucas/mqqt_venv/bin/python /home/lucas/scripts/serverhost/torrent_mqtt.py "$*"
|
||||||
|
|
||||||
|
cp $TORRENT_PATH /torrent/complete/
|
||||||
Reference in new issue
Block a user