Discussion PG port guard and Deluge??

bodgeup

Blitz 1st Class
Original poster
Donor
77
22
PG Version
8.4.6
Server Type
Remote - Dedicated Server
Ive just built a new PG instance and for the first time amazingly need to use PG port guard, i have everything working so far but it doesnt look my deluge is seeding. Anyone know if PG Port guard will work with deluge??
 

MrDoob

Administrator
Project Manager
Sponsor
Donor
784
170
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

Blitz 1st Class
Original poster
Donor
77
22
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???
 

MrDoob

Administrator
Project Manager
Sponsor
Donor
784
170
nc -w 2 -v canyouseeme.org 51413 </dev/null; echo $?
 

MrDoob

Administrator
Project Manager
Sponsor
Donor
784
170
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 !
 

MrDoob

Administrator
Project Manager
Sponsor
Donor
784
170
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' "$@"; }

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
 

bodgeup

Blitz 1st Class
Original poster
Donor
77
22
So Does PG port guard work on every container aswell as the host?? or just the containers?? Anyway thanks for the cmd Mr Doob ill have a look.

Thanks
 
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.


Blitz Developer Donations

 

Trending