Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have my rutorrent client working, I can control rtorrent and download files.Only while connected to my LAN but I want to be able to access the webui from external networks. What would the best method to do this be?
need to know your setup. I think you have a router and a local (home) network. Your client works within this home network and you wish to use it from outside. Probably you need to configure your router, but would be better to explain what do you really need.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi cnlh,
Building on pan64's post, in your home router, you need to port-forward an Internet-facing port (choose anything not in use) to the internal IP address and port you have assigned to the rtorrent webui.
Then from the Internet (outside your LAN), aim your browser at the external Internet-facing IP address of your home router, specifying the external port you chose (ex. http://200.200.200.1:35551) ... (replacing those values with your own ...).
sorry for the lack of information, it was late when I made the op. Im running rtorrent on ubuntu server 17.10 with rutorrent as the webui. I do have a router setup controlling the network. I have port 55000 forwarded for rtorrent but rutorrent doesn't have a port option itself as it's a frontend for rtorrent. I tried setting up a port forward for my external ip set to public port 55001 directed to the internal ip of my ubuntu server with internal port 55000. To access rutorrent internally I have to go to https:internalip/rutorrent. Any ideas, im fairly new to networking?
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by cnlh
sorry for the lack of information, it was late when I made the op. Im running rtorrent on ubuntu server 17.10 with rutorrent as the webui. I do have a router setup controlling the network. I have port 55000 forwarded for rtorrent but rutorrent doesn't have a port option itself as it's a frontend for rtorrent. I tried setting up a port forward for my external ip set to public port 55001 directed to the internal ip of my ubuntu server with internal port 55000. To access rutorrent internally I have to go to https:internalip/rutorrent. Any ideas, im fairly new to networking?
Hey again cnlh,
OK - I was assuming that you could set a separate port number for the webui ... I do this with qbittorrent. I am surprised this flexibility isn't offered - might be worth double checking.
You're using ssl internally (https), and ssl uses port 443. So you could try forwarding your external port 55001 to ip address:[internalip] port: 443.
.... or ... you could explore qbittorrent. I run it completely headless from a vm guest on a headless Arch server - so my only graphical interface is the webui - for which I can specify any port I like. Works great.
I was using qbittorent, but switched to rtorrent...i forget why but I might switch back if I can get it to work. I'll try forwarding to 50001 to 443 whrn I am home. Thnaks for the help!
Just tested with qbittorent and it works as expected so I'm switching back. As I'm pretty bad with how networks work, how secure is having qbittorrent open like this. Does the login block brute force attacks by default?
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi cnlh,
I run qbittorrent in a headless VM which I pause or shut down when not needed. Furthermore, I use as much of my router's security features as possible to discourage at least casual hackers (WPA2 encryption, non-broadcast of SSID, non-response to ICMP (pings), non-default internal IP address range, MAC filtering, non-standard TCP and / or UDP public and private ports .... ). So I guess the short answer to your question in my case, is "no". I wouldn't rely exclusively on the login for security.
Hope this helps - glad qbittorrent proved to be a solution for you.
I have my rutorrent client working, I can control rtorrent and download files.Only while connected to my LAN but I want to be able to access the webui from external networks.
I had the same problem - the only solution was to change default port 80 for web access to an another one - I just pick the 81. Don't forget to open this on your router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.