
How to enable SSL in amuleweb
18/02/2012For accessing through a cyphered connection like SSL to the web interface «amuleweb» of aMule, it is necesary to install a webserver like Apache2, which will act like a reverse proxy. It is needed to complete these steps:
1º) Install Apache
sudo apt-get install apache2
2º) Install the http proxy module of Apache2:
sudo apt-get install libapache2-mod-proxy-html
3º) Enable proxy modules:
sudo a2enmod proxy
sudo a2enmod proxy_http
4º) Add these 2 lines for amule configuration in the SSL default site of Apache2:
sudo nano /etc/apache2/sites-enabled/default-ssl
(...)
ServerAdmin webmaster@localhost
ProxyPass /amule/ http://172.26.0.5:4711/
ProxyPass /amule/ http://172.26.0.5:4711/
DocumentRoot /var/www
(...)
5º) Restart Apache2
/etc/init.d/apache2 restart
6º) Browse this address:
https://CHANGE_THIS_FOR_THE_LOCAL_IP_OF_YOUR_SERVER:443/amule/
Remember than for any trouble you can check /var/log/apache2/error.log
Deja una respuesta