Jump to content

Ban by IP


Recommended Posts

You can add the following command to your Punkbuster configs.


PB_SV_BanMask [IP Address / Subnet Mask] 

Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command 

Retrieved from "http://www.punksbusted.com/wiki/index.php/PB_SV_BanMask"

Link to comment
Share on other sites

I've not used these settings however, I found this at Raiders Game Net.


// Call of Duty 4 "Server Bans" serverbans.cfg
// -------------------------------------------

// IP Ban configuration
set g_filterban "0"   // 0 deny all users in g_banips to join server
				  // 1 ban everyone except for ip in g_banips

//Reset ip bans
set g_banips ""	// Leave as is to clear out bans BEFORE loadup

// Add permanent IP bans below this line.  In the format shown in example
//set g_banips "xxx.xxx.xxx.xxx" // EXAMPLE - to add more IP's just seperate by comma ,


Here is a link to Raiders Game Net Post.



Link to comment
Share on other sites

Thanks for your answer.


I had that commands on my cfg and it run. But since i update for 1.7 patch i cant ban by IP with that commands. Anyone know why?




Edited by dune83
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.