Latest Site Announcements!

Topic Post date Author
Going slow. May 21, 2013 @ 8:39 am Shark812
Improved queries, tweaks, and more to come! January 20, 2013 @ 9:35 pm Shark812
Moved to a new host. October 30, 2012 @ 9:44 am Shark812
My apologies for downtime. October 24, 2012 @ 5:15 am Shark812
Tons of servers added! 360 total! July 22, 2012 @ 4:34 am Shark812

Cracked BF2 Dedicated Server - Linux

This tutorial will show you how to install the Battlefield 2 Dedicated Server on Linux and disable the server from checking CD Keys ;)
If you already have a server set up, you can skip down a bit to the iptables part.

These first steps will install the server just like you would normally.

First, you'll have to download the latest v1.5 server installer:

wget http://limit.1337-server.net/bf2-linuxded-1.5.3153.0-installer.sh

Make the file executable:

chmod +x ./bf2-linuxded-1.5.3153.0-installer.sh

Install the server:

./bf2-linuxded-1.5.3153.0-installer.sh

Accept both agreements and specify an install directory.

These next steps will disable CD-Key checks!

If you don't already have iptables, install it (Ubuntu method):

apt-get install iptables

Use iptables to block the ports used to check for legit CD-Keys:

iptables -A INPUT -m udp -p udp --sport 29910 -s 0/0 -j DROP
iptables -A INPUT -m udp -p udp --sport 139 -s 0/0 -j DROP
iptables -A INPUT -m tcp -p tcp --sport 29910 -s 0/0 -j DROP
iptables -A INPUT -m tcp -p tcp --sport 1433 -s 0/0 -j DROP
iptables -A INPUT -m tcp -p tcp --sport 1434 -s 0/0 -j DROP
iptables -A INPUT -m tcp -p tcp --sport 139 -s 0/0 -j DROP

Almost done!
These next steps will edit your server's name that shows up in the server browser.
Go to server install dir then:

nano ./mods/bf2/settings/serversettings.con

Set sv.serverName to your desired server name.
Set sv.internet to 1 if this is a public, internet server.
Set sv.welcomeMessage to your desired welcome message.
Set sv.punkBuster to 1 if you want PunkBuster enabled. (A good idea.)

Congratulations! You now have a Cracked BF2 Server ready!
To run your server, go to your BF2 server's root and:

./start.sh

Done!

If you have any questions, ask in a comment below or post on the forum!
And don't forget to submit your cracked server to our list!

Comments

iptables

Xp how to make Battlefield 2 server?
How to set up iptables? Detail?
And how to submit to the site?
And what should be the Query Port?

please Skype is the answer: kakukkstuka (Bal√°zs G)
Thanks in advance!

have to join my server 2 times

Hi fragme mania :)

i was wondering why when ppl want to join my server have to join twice before they can join my server ?

the 1st time connect it said "Your connection to server has been lost"
but the 2nd connect : Success and ppl can play.

my server cracked with iptables block for legit cdkey check, and with Punkbuster ON.

can anybody tell me how to solve it ?