Page 1 of 2
Auto Install
Posted: Sat Jan 09, 2016 10:47 pm
by Brandon
Hello,
I have used the auto install on my server and I was able to get the bot to join but the web page that is listed will not work.
Any ideas?
Re: Auto Install
Posted: Sat Jan 09, 2016 11:00 pm
by Crypto90
Which operating system are you using on your server?
CenotOS for example has IpTables firewall running by default and you need to open the TCP port for the webinterface.
Example command to open TCP port 8080:
Code: Select alliptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
The Webinstaller starts with 8081.
Re: Auto Install
Posted: Sat Jan 09, 2016 11:01 pm
by Brandon
I'm running CentOS 7 64bit
How do I go about doing this?
Re: Auto Install
Posted: Sat Jan 09, 2016 11:03 pm
by Crypto90
In your case connect to your centos server with SSH and use the following command:
Code: Select alliptables -A INPUT -p tcp -m tcp --dport 8081 -j ACCEPT
Re: Auto Install
Posted: Sat Jan 09, 2016 11:07 pm
by Brandon
I have done that and the next line says reply?
Re: Auto Install
Posted: Sat Jan 09, 2016 11:09 pm
by Crypto90
In CentOS 7 you can also use the two commands:
Code: Select allfirewall-cmd --permanent --add-port=8081/tcp
firewall-cmd --reload
After that your webinterface should be accessable.
Re: Auto Install
Posted: Sat Jan 09, 2016 11:12 pm
by Brandon
So you do these commands in order?:
iptables -A INPUT -p tcp -m tcp --dport 8081 -j ACCEPT
firewall-cmd --permanent --add-port=8081/tcp
firewall-cmd --reload
Re: Auto Install
Posted: Sat Jan 09, 2016 11:14 pm
by Crypto90
The first command alone and the second and third command does basically the same.
Code: Select alliptables -A INPUT -p tcp -m tcp --dport 8081 -j ACCEPT
Just opens the port, if you reboot your server the port is closed again.
Code: Select allfirewall-cmd --permanent --add-port=8081/tcp
firewall-cmd --reload
Does open the port too and also save it permanently, so after a server reboot the port is still open.
Use one of the both solutions, for the second case, use them in the order.
Re: Auto Install
Posted: Sat Jan 09, 2016 11:16 pm
by Brandon
Ok, because these say error when I do them:
firewall-cmd --permanent --add-port=8081/tcp
firewall-cmd --reload
Should I restart the box or should it work?
Re: Auto Install
Posted: Sat Jan 09, 2016 11:17 pm
by Crypto90
What kind of error?
There should not be any error, can you send me your error?
You don't need to reboot your server.