network.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Network configuration file
  2. /*
  3. * List here any LAN subnets this server is in.
  4. * Example:
  5. * - char- (or map-) server's IP in LAN is 192.168.0.10
  6. * - Public IP is 198.51.100.37
  7. * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
  8. * from the same 192.168.0.0/24 network will be presented with the LAN IP
  9. * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
  10. */
  11. lan_subnets: (
  12. "127.0.0.1:255.0.0.0",
  13. // "192.168.1.1:255.255.255.0",
  14. )
  15. /*
  16. * List here any IP ranges a char- or map-server can connect from.
  17. * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
  18. * from ANY IP. (not recommended).
  19. */
  20. allowed: (
  21. "0.0.0.0:0.0.0.0",
  22. // "127.0.0.1:255.0.0.0",
  23. )
  24. /*
  25. * List here any IP ranges a char- or map-server can connect from. These ranges
  26. * will also be excluded from the automatic ipban in casee of password failure.
  27. * Any entry present in this list is also automatically included in the
  28. * allowed IP list.
  29. * Note: This may be a security threat. Only edit this list if you know what
  30. * you are doing.
  31. */
  32. trusted: (
  33. "127.0.0.1:255.0.0.0",
  34. )