Page 1 of 1

Use qbittorrent webui over internet using UPnP

Posted: Sat Nov 14, 2015 6:40 am
by evilmage
So I want to access Qbittorrent WebUI from internet so that I can connect to it using http://x.x.x.x:8080 where x.x.x.x is my public ip not the private. For this I activated th WebUi fucntion with UPnP box checked on Qbit's options>webui. Now I can access the webui over the private network i.e. currently http://192.168.0.101:8080 opens the webUI but when I try it using my public ip, it doesn't.
I am using a DLink Router and connected to WLAN.
I am getting my  Public IP googling 'whats my ip'.
WEBUI port is at default 8080.
Software Information:
OS: Ubuntu 15.10
Qbit: v3.2.3
Router: Dlink 605L

What I tried so far( it didn't worked):

1. Checking Upnp on router setting.
2. on ubuntu terminal , 'sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT'

And nothing is working, can anyone who has done this before guide me what step I am missing?

Thank you.

Re: Use qbittorrent webui over internet using UPnP

Posted: Sat Nov 14, 2015 5:00 pm
by ciaobaby
What do you get from http://externalip:port from outside your network?

Re: Use qbittorrent webui over internet using UPnP

Posted: Sat Nov 14, 2015 7:41 pm
by evilmage
[quote="ciaobaby"]
What do you get from http://externalip:port from outside your network?
[/quote]

it keeps loading, nothing opens.

Re: Use qbittorrent webui over internet using UPnP

Posted: Sat Nov 14, 2015 7:42 pm
by Peter
- if you use ubuntu for allowing some port on your sw firewall, just use "sudo ufw allow 8080".
if you use ufw at all. and yeah, ufw is just an iptables wrapper

- try using simple port forward, upnp sucks (not in qBittorrent, but in most routers).

Re: Use qbittorrent webui over internet using UPnP

Posted: Sat Nov 14, 2015 8:14 pm
by evilmage
[quote="Peter"]
- if you use ubuntu for allowing some port on your sw firewall, just use "sudo ufw allow 8080".
if you use ufw at all. and yeah, ufw is just an iptables wrapper

- try using simple port forward, upnp sucks (not in qBittorrent, but in most routers).
[/quote]

Sorry for asking a noob question, but I am new at this.
Will enabling ufw and allowing 8080 port using following commands: 'sudo ufw enable' and 'sudo ufw allow 8080' work? Anymore setting I would have to change in qbit's options?

Re: Use qbittorrent webui over internet using UPnP

Posted: Sun Nov 22, 2015 4:47 pm
by Peter
Yes, that's all you have to do.
But I don't know if you have existing iptables rules - how that converts over and such.
https://help.ubuntu.com/community/UFW

Re: Use qbittorrent webui over internet using UPnP

Posted: Sun Nov 22, 2015 6:30 pm
by ciaobaby
And if you don't want to or need to enable ifw, you could set it open in iptables

sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT

in a terminal window.