aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb and external connections  (Read 2355 times)

horst

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
amuleweb and external connections
« on: January 09, 2005, 03:40:01 AM »

what's the easiest way to restrict the external access to amuled/amuleweb? atm i use

AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
ECPassword=

to be able to access the webgui from my lan but it seems that everybody else can reach my amule webserver over the external nic also. how can i restrict the access to amuled and amuleweb to some selected lan-ip's or bind it to only the internal network-interface?
« Last Edit: January 09, 2005, 03:40:48 AM by horst »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: amuleweb and external connections
« Reply #1 on: January 09, 2005, 04:42:24 AM »

Use a firewall to block access from your external IP.

Regards.
Logged

horst

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: amuleweb and external connections
« Reply #2 on: January 09, 2005, 12:38:57 PM »

so there is no aMule-internal mechanism? don't get me wrong, i'm not complaining, i'm just used to that from mldonkeys webgui :)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amuleweb and external connections
« Reply #3 on: January 09, 2005, 03:03:39 PM »

horst,

Go to aMule preferences->Remote Controls. There you will find "External Connections Parameters". Check "Accept external connections" and "Use TCP ports instead of unix local sockets". Then enter a password.

That password should be given by any program trying to access aMule from the EC socket (External Connections). The programs amuleweb, amulewebDLG, amulecmd and amulecmdDLG all support this. Besides, if using these programs locally, you can give them the parameter -f, so that they fetch the password from the file ~/.eMule, that way you don't have to enter the password on the command line.

Notice that webserver passwords are different from EC password and are only used by amuleweb* to validate user access from a web browser.

Cheers!
Logged