How to save IP bans on a TF2 server
Type writeip in the server console to save IP bans to banned_ip.cfg. exec banned_ip.cfg in server.cfg reloads them on start.
writeip
Saves the IP ban list to banned_ip.cfg.
writeip Examples
writeip Save the IP ban list.
What it does
Load the file with exec banned_ip.cfg in server.cfg so IP bans survive a restart.
The game's own description: Save the ban 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.