I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Linux specific questions, problems.
Post Reply
silvernightstar

I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by silvernightstar »

If so, any solutions? UPnP port exclusion list perhaps?

Apologize in advance if the question's silly.. still a noob with linux and all..
Last edited by silvernightstar on Wed Feb 27, 2013 8:19 am, edited 1 time in total.
loki

Re: I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by loki »

It might if you set qB to the same port as your SSH port. Way around this, you should set qB to use specific port, not random.
silvernightstar

Re: I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by silvernightstar »

Thanks loki for the reply

[quote="loki"]
It might if you set qB to the same port as your SSH port. Way around this, you should set qB to use specific port, not random.
[/quote]

I got that (the listening port) covered.. I'm more concerned with the UPnP ports qbittorrent opens, which can be seen via a "lsof -i" command. For example, in my case, I'd see various port connections ranging from 36000 to 59000 established by qbittorrent.

In short, is it possible that:
1) qbittorrent doesn't know I'm using port 51240 as my ssh port
2) qbittorrent UPnP attempts a seed/peer connection via port 51240
3) thereby screwing up my ssh

Thanks!
loki

Re: I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by loki »

Alright, it shouldn't use ports if they are already in use. Are you saying it has, or just looking to future if it does?
Onemoar

Re: I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by Onemoar »

it doesn't matter if you tell qBT to use a port it will attempt to use said port regardless of weather or not said port is free
never attempt to use the same port for the two different applications it will conflict _unless_ both applications are not gonna be  run at the same time
silvernightstar

Re: I set my SSH port to 51240; will it conflict with qbittorrent's UPnP?

Post by silvernightstar »

[quote="loki"]
Alright, it shouldn't use ports if they are already in use. Are you saying it has, or just looking to future if it does?
[/quote]

I haven't seen it happen, but then it's either because:

1) the probability of qbittorrent actually using one specific port (51240) is very slim, and in the event that it did, I just didn't happen to be looking.
2) qbittorrent never succeeds in securing port 51240 for UPnP connections since ssh has already "occupied/reserved" port 51240 at startup

I'm not sure how qbittorrent prepares UPnP port connections. I'll just assume case #2 unless a kind-soul can prove me right or wrong.
Post Reply