Use qbittorrent webui over internet using UPnP

Linux specific questions, problems.
Post Reply
evilmage

Use qbittorrent webui over internet using UPnP

Post 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.
ciaobaby

Re: Use qbittorrent webui over internet using UPnP

Post by ciaobaby »

What do you get from http://externalip:port from outside your network?
evilmage

Re: Use qbittorrent webui over internet using UPnP

Post by evilmage »

[quote="ciaobaby"]
What do you get from http://externalip:port from outside your network?
[/quote]

it keeps loading, nothing opens.
User avatar
Peter
Administrator
Administrator
Posts: 3046
Joined: Wed Jul 07, 2010 6:14 pm

Re: Use qbittorrent webui over internet using UPnP

Post 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).
evilmage

Re: Use qbittorrent webui over internet using UPnP

Post 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?
User avatar
Peter
Administrator
Administrator
Posts: 3046
Joined: Wed Jul 07, 2010 6:14 pm

Re: Use qbittorrent webui over internet using UPnP

Post 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
ciaobaby

Re: Use qbittorrent webui over internet using UPnP

Post 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.
Post Reply