You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2010-12-04 13:07:23
- hwk
- Member
UT server WebUI interface IP bind
Good day,
I new here and the reason i'm writing is that i want to know if it's possible to make the WebUI interface work on a certain IP, since my box has more than 1.
By default it works on all IP.
NOTE: I am talking about the WebUI interface, want to be binded only on ip22:myport, not on ip21:myport, ip20:myport and so on.
Thanks
Offline
#2 2010-12-05 13:45:46
- lithopsian
- Member
Re: UT server WebUI interface IP bind
You can restrict utserver to only allow webui access from a list of IPs. Is this what you want? Look on thr webui tab in the options.
Offline
#3 2010-12-05 14:14:14
- hwk
- Member
Re: UT server WebUI interface IP bind
yes, in know this, but is it possible to do it from the utserver configuration file?
Offline
#4 2010-12-06 10:10:31
- mcdonald
- Moderator
Re: UT server WebUI interface IP bind
yes, in know this, but is it possible to do it from the utserver configuration file?
If you know which network interface will have the desired IP, defining a value for the preferred_interface setting in the configuration file should result in what you want.
Offline
#5 2010-12-06 14:01:34
- hwk
- Member
Re: UT server WebUI interface IP bind
Not the same deal.
Offline
#6 2010-12-06 14:49:04
- mcdonald
- Moderator
Re: UT server WebUI interface IP bind
Not the same deal.
I looked into this more. It looks like the program won't support selecting the IP (interface) to which the HTTP interface belongs. You may need to solve this with firewall rules on the computer running utserver. That's if you want to control the computer on which utserver is running so that utserver exposes its HTTP interface only through one of the network interfaces on that computer.
Based on the contents of this thread, now I'm not sure if you are asking how to limit the computer running utserver, or how to limit your computer which will be talking to the computer running utserver. If the latter, you can't specify the web UI IP restriction list with an entry in the configuration file.
Offline
#7 2010-12-06 19:35:27
- tth0561
- Member
Re: UT server WebUI interface IP bind
try this:
setup - Preferences - Advanced - net.bind_ip
Offline
#8 2010-12-07 01:37:03
- hwk
- Member
Re: UT server WebUI interface IP bind
try this:
setup - Preferences - Advanced - net.bind_ip
Nop, this does not work
Offline
#9 2010-12-07 01:39:35
- hwk
- Member
Re: UT server WebUI interface IP bind
Again,
Utorrent WebUI, by default, listens on all interfaces (IPs) of a box and I want to restrict the WebUI to listen only on 1 IP.
Is this possible to do this without using setting a firewall rule?
Thanks
Offline
#10 2010-12-08 09:58:34
- lithopsian
- Member
Re: UT server WebUI interface IP bind
I still don't understand what you are asking for. webui doesn't listen to anything. It sends requests to a particular IP address and port, and then receives responses if there is a utserver at that address. It can obviously connect to any IP address that you type in, and if that is what you want to prevent then you will have to do it by configuring your browser, the host system, or the router.
Offline
#11 2010-12-08 11:32:24
- hwk
- Member
Re: UT server WebUI interface IP bind
Well let me give a diferent version of what im trying to say:
Make WEBUI LISTEN on 1 certain IP of many which my box has, not all of them.
Offline
#12 2010-12-08 12:50:16
- mcdonald
- Moderator
Re: UT server WebUI interface IP bind
Well let me give a diferent version of what im trying to say:
Make WEBUI LISTEN on 1 certain IP of many which my box has, not all of them.
Looks like the confusion is the term webui.
I think of the web UI as the set of HTML, Javascript, CSS, and image files that are served to a web browser by uTorrent server. I think of the HTTP interface as the allowed set of requests that can be handled by the TCP port on the computer running uTorrent server on which the server is listening for HTTP requests, including those requests made by the web UI running on a browser and those requests that would load the web UI into the browser. Seems like you would like the TCP port that implements the HTTP interface on the server to listen on your choice of only one of the IPs of the computer running the server.
Offline
#13 2010-12-08 13:38:26
- lithopsian
- Member
Re: UT server WebUI interface IP bind
I have no clue. Why don't you explain what you want to do (or not do!) instead of trying to tell us what you want listening to what using terms that are almost certainly different to what we expect.
Give us a concrete example of several machines running utserver programs and web browsers, then say what you would like to be allowed to run on each machine and what wouldn't be allowed. Which browsers would be able to display the webui interface for which utservers on which machines?
Offline
#14 2010-12-14 20:24:17
- Luvu43v3r
- Member
Re: UT server WebUI interface IP bind
i think he meant interface like eth0 , eth1 , eth2 ... So , basically, he wants utserver only be accessible by a whole subnet behind eth1 or eth2 . Like mod said, you need to use iptables/firewall to block webui port ( default 8080 ) on unwanted interface .
Offline
#15 2010-12-15 03:16:43
- DreadWingKnight
- I never claimed to be nice.
Offline
#16 2010-12-15 09:12:05
- hwk
- Member
Re: UT server WebUI interface IP bind
People want a separate interface to bind to for the webui and normal torrent traffic. So bind the webui to eth0 and bind the torrent side of things to eth1 for example.
How can i define that?
Offline
#17 2012-01-19 20:56:46
- MortenB
- Member
Re: UT server WebUI interface IP bind
Deleted ![]()
Last edited by MortenB (2012-01-20 10:12:37)
Offline
#18 2012-04-27 19:22:50
- John Peterson
- Member
Re: UT server WebUI interface IP bind
This post is at https://github.com/mirror/utorrent/issues/5 (because of the reason in the topic "post location" at https://github.com/mirror/utorrent/issues/1)
Last edited by John Peterson (2013-02-24 08:20:28)
Offline
Pages: 1
