0
Ukończony

The centos installation tutorials does not mention about opening port 8000 with iptables

happyhardik 10 lat temu zaktualizowano 10 lat temu 4
I installed ajenti on centos, it installed but never opened for me. Then I learned I need to open port 8000 in iptables before I can access it. Please mention about it in the installation tutorials, so that people don't have to google before finding a solution. You can follow this for other OS as well.
Port blocked by firewall?
iptables -A INPUT -p tcp --dport 8000 -j ACCEPT
Should be:

Cannot access Ajenti after successful install? 
Your firewall could be blocking port 8000. Please follow the following steps to fix it. 
- Please login to your server with SSH. 
- Edit iptables (firewall) config file by typing the following command: vi /etc/sysconfig/iptables
- Before the line with "COMMIT", enter the following line:
iptables -A INPUT -p tcp --dport 8000 -j ACCEPT
- Ajenti should now be accessible on http://you-server-ip:8000
At such level of verbosity, you should have included instructions on how to quit Vim :)
But I've added more detail: http://support.ajenti.org/topic/349866-installing-...
P.S. changes to /e/sc/iptables won't come in effect immediately.
True, forgot to mention, iptables restart :)