TF2 Private Server won't work with friends
Solution 1:
You have to forward ports in your router. Commonly you can reach your routers configuration at http://192.168.1.1 but it differs, your firewall might also be blocking connections. Ports that need forwarding seems to be:
-
UDP 27015
-
TCP 27015
-
UDP 27020
-
UDP 27005
(TCP and UDP 27015 should be the only required ones according to Valve: https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711)
Also enable the developer console and enter sv_lan 0
when you have started your private game.