Running bukkit server.
-
- A semi-regular
- Posts: 28
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Apr 20, 2013 6:05 am
Re: Running bukkit server.
A bit of history is in order perhaps. I have run bukkit servers three times before. The last one was on a VPS running centoOS 5.3. Bukkit was connectable straight out of the box and no plugins seemed to interfere with this. I have transferred all my worlds and plugins to this server however I have tried running my backed up data and I have also tried running new instances of the game; both result in the same problem, hence why I suspect this is a problem with port forwarding and not in minecraft's configuration, though I am totally open to the thought that I could be wrong about that.
Re: Running bukkit server.
What problem are you having, exactly? Are there any specific error message, or is something else happening?
TimeX
Re: Running bukkit server.
We're not blocking any ports on our end so it is unlikely to be that.
What is the message seen when you try to connect? Also can you post the IP so some of us can try to connect?
What is the message seen when you try to connect? Also can you post the IP so some of us can try to connect?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Running bukkit server.
The problem is that I cannot connect to my server via minecraft. The minecraft server process runs and shows no errors.
I have just tested connection with iptables disabled completely; I could connect to my server then. I imagine however that I should not run my server with iptables disabled. Is there a rule I am missing?
The only one I have added (which did nothing) is the rule about port 25565.
I have just tested connection with iptables disabled completely; I could connect to my server then. I imagine however that I should not run my server with iptables disabled. Is there a rule I am missing?
The only one I have added (which did nothing) is the rule about port 25565.
Re: Running bukkit server.
Was that the full output for Iptables -L ? I don't see any Output rules. You will want to add in the following rule to allow outgoing traffic:
Code: Select all
-A OUTPUT -j ACCEPT
Re: Running bukkit server.
Attempted that just now, it didn't work.Spray223 wrote:Was that the full output for Iptables -L ? I don't see any Output rules. You will want to add in the following rule to allow outgoing traffic:Code: Select all
-A OUTPUT -j ACCEPT
Re: Running bukkit server.
Potcat, those iptables rules don't make too much sense. In the INPUT chain, for instance, you have a rule that appears to allow all traffic, followed by other rules (which should never be reached). You also have reject-with icmp-host-prohibited rules, which are a no-no nowadays due to spoofed DDoS attacks.
Please give us the full rule list with this command, so that we can see exactly how they're defined:
iptables --list-rules
You mentioned port forwarding. Port forwarding does not apply here unless you're running some sort of tunnel or NAT. Otherwise, your server is exposed to the internet directly and the FORWARD chain is never used.
You should also be safe to run with iptables disabled.
Please give us the full rule list with this command, so that we can see exactly how they're defined:
iptables --list-rules
You mentioned port forwarding. Port forwarding does not apply here unless you're running some sort of tunnel or NAT. Otherwise, your server is exposed to the internet directly and the FORWARD chain is never used.
You should also be safe to run with iptables disabled.
Re: Running bukkit server.
Aside from the single rule about port 25565, the rules I posted are the ones that came with my server. I'm not very experienced with iptables.Edge100x wrote:Potcat, those iptables rules don't make too much sense. In the INPUT chain, for instance, you have a rule that appears to allow all traffic, followed by other rules (which should never be reached). You also have reject-with icmp-host-prohibited rules, which are a no-no nowadays due to spoofed DDoS attacks.
Please give us the full rule list with this command, so that we can see exactly how they're defined:
iptables --list-rules
You mentioned port forwarding. Port forwarding does not apply here unless you're running some sort of tunnel or NAT. Otherwise, your server is exposed to the internet directly and the FORWARD chain is never used.
You should also be safe to run with iptables disabled.
Here is the current output of iptables --list-rules
Code: Select all
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -p tcp -m tcp --dport 25565 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
-A OUTPUT -j ACCEPT
Re: Running bukkit server.
I'd recommend removing all of them with iptables --flush, as they shouldn't be needed and will reduce performance.
I will need to also take a look at what the OS distribution is doing, as those are not good defaults (we just use default OS installs).
I will need to also take a look at what the OS distribution is doing, as those are not good defaults (we just use default OS installs).
Re: Running bukkit server.
I had the same issue with my VPS that I just bought, Thanks!
Re: Running bukkit server.
I have adjusted the CentOS 6.4 install to have a cleared-out firewall now.