Jump to content

OpenJK + Movie Battles 2 and Linux Mint 17.1, doesn't connect to OpenJK Servers only. (Distro related problem)


McPixel

Recommended Posts

I think i found out the cause of the problem with linux+virtualbox clients and linux+phisic-machines clients with those MBII openjk servers.
 

Those servers was using for sometime a experimental firewall rule from this script and i had totally forgotten about it.
 

 

###########################

##              EXPERIMENT               ##
#$iptables -N GETCHLG
#$iptables -A GETCHLG -p udp -m recent --name $hexip --rcheck -j ACCEPT
#$iptables -A GETCHLG -p udp -m limit --limit 50/sec --limit-burst 1000 -j ACCEPT
#$iptables -A GETCHLG -p udp -j DROP
 
#$iptables -N GETSTAT
#$iptables -A GETSTAT -p udp -m recent --name $hexip --rcheck -j ACCEPT
#$iptables -A GETSTAT -p udp -m limit --limit 50/sec --limit-burst 1000 -j ACCEPT
#$iptables -A GETSTAT -p udp -j DROP
 
#$iptables -N GETINFO
#$iptables -A GETINFO -p udp -m recent --name $hexip --rcheck -j ACCEPT
#$iptables -A GETINFO -p udp -m limit --limit 50/sec --limit-burst 1000 -j ACCEPT
#$iptables -A GETINFO -p udp -j DROP
 
#$iptables -N CONN
#$iptables -A CONN -p udp -m recent --name $hexip --set
#$iptables -A CONN -p udp -m limit --limit 15/sec --limit-burst 15 -j ACCEPT
#$iptables -A CONN -p udp -j DROP
##              EXPERIMENT               ##
###########################
 
Apparently the rules did not cause any problems with windows clients. However when they were disabled, i finally was able to connect to the openjk servers under virtualbox.
 
Ubuntu.png
 
I think we just need a confirmation from McPixel to make sure if that was really what caused the problem.
Link to comment

So it was a server problem?  :huh:

 

yes...

 

but check this line: $iptables -A CONN -p udp -m limit --limit 15/sec --limit-burst 15 -j ACCEPT

 

Why the limit burst is the same?

 

I change it to "300" (20x more) and put the whole expermental block back in the firewall.

 

Sem_t_tulo.png
 

And it is working.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...