How to ban an IP address on a TF2 server
Type addip 0 203.0.113.5 in the server console to ban that IP for good, or give minutes instead of 0. Run writeip so it survives a restart.
addip
Bans an IP address for a number of minutes. 0 bans permanently.
addip <minutes> <ip> Examples
addip 0 203.0.113.5 Permanent IP ban.
Arguments
minutesRequired- Ban length. 0 is permanent.
ipRequired- IP address to ban.
What it does
Useful against players who switch Steam accounts. Save with writeip.
The game's own description: Add an IP address to the ban list.
Good to know
- Run
writeipto save the list to banned_ip.cfg.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg. New to this? Start a TF2 server first.
Your own
TF2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.