aMule Forum
English => aMule Help => Topic started by: horst 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?
-
Use a firewall to block access from your external IP.
Regards.
-
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 :)
-
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!