PG port guard and Deluge??

M

MrDoob

Guest
Try my process to getting rutorrent ports to open - i've been testing this today and works fine.

1.Go ahead and close ports with PGShield - feel free to check that they have closed and all your subdomains are working(give it a few minutes)
2.Go into portainer and open the rutorrent container and click "Duplicate/Edit"
- In port mapping change the following 127.0.0.1:51413 to this 0.0.0.0:51413.
- Click deploy container - give it a few minutes and check rutorrent(port should now be open and green)
3. You may now run into a problem where sonarr and radarr will not be able to connect to rutorrent downloader (check to see first if they are functioning and if they are ignore the following steps)- in portainer when you are inside the rutorrent container it will have an IP address this will be your host for downloader client in sonarr or radarr.
- Your downloader setting in sonarr or radarr should look like this -

Host: 172.17.0.2
Port:80
URL Path: RPC2

Test and save should be working fine
 
  • Like
Reactions: Qlogic

bodgeup

Respected Member
Original poster
Donor
Local time
8:08 AM
Aug 12, 2018
76
23
Should clarify my web ports are open ok its I'm not sure if my incoming BT port is Open?? Only reason I ask is I haven't seeded back 1kb yet and normally I would at least see some seeding back. Be nice to see a port tester feature somewhere like on the excellent new pgui???
 
M

MrDoob

Guest
nc -w 2 -v canyouseeme.org 51413 </dev/null; echo $?
 
M

MrDoob

Guest
we dont add a Port-tester !!! thats a security risk !!!
so if you dont use PGShield or SALT passworts !!

every onw can check your server over the DOMAIN !
what ports are open and what ports are closed !
 
M

MrDoob

Guest
nano port.sh
add the lines

chmod a+x port.sh

./port.sh <port> <rutorrent.TLD>


Code:
 ./port.sh 443 rutorrent.XXXXXXXX
--> OPEN



Bash:
PORT=$1
HOST=$2
TIMEOUT_IN_SEC=${3:-1}
VALUE_IF_OPEN=${4:-"OPEN"}
VALUE_IF_CLOSED=${5:-"CLOSED"}

function eztern()
{
  if [ "$1" == "$2" ]
  then
    echo $3
  else
    echo $4
  fi
}

# cross platform timeout util to support mac mostly
# https://gist.github.com/jaytaylor/6527607
function eztimeout() { perl -e 'alarm shift; exec @ARGV' "[email protected]"; }

function testPort()
{
  OPTS=""

  # find out if port is open using telnet
  # by saving telnet output to temporary file
  # and looking for "Escape character" response
  # from telnet
  FILENAME="/tmp/porcheck"
  RESULT=$(eztimeout $TIMEOUT_IN_SEC telnet $HOST $PORT &> $FILENAME; cat $FILENAME | tail -n1)
  rm -f $FILENAME;
  SUCCESS=$(eztern "$RESULT" "Escape character is '^]'." "$VALUE_IF_OPEN" "$VALUE_IF_CLOSED")

  echo "$SUCCESS"
}

testPort
 
S

subse7en

Guest
PortGuard should now be fixed for rutorrent and deluge. You should uninstall it first then reinstall rutorrent. Do so with an empty queue.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Members online

Maintenance Donations

Recommend NewsGroups

      Up To a 58% Discount!

Trending