Skip to content
Farming Simulator 25
Farming Simulator 25 100% localFreeOpen access

FS25 server scripts (firewall, restart, backup)

Generate .bat scripts for a Farming Simulator 25 dedicated server on Windows: firewall rules, scheduled restart and backup.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Script
Paths
Ports
fs25-server.bat
Live preview — automatically saved in your browser.
@echo off
REM Generated by games-tools.game-rank.com
REM Run as administrator
netsh advfirewall firewall add rule name="FS25 game TCP" dir=in action=allow protocol=TCP localport=10823
netsh advfirewall firewall add rule name="FS25 game UDP" dir=in action=allow protocol=UDP localport=10823
netsh advfirewall firewall add rule name="FS25 web HTTP" dir=in action=allow protocol=TCP localport=8080 remoteip=LocalSubnet
netsh advfirewall firewall add rule name="FS25 web HTTPS" dir=in action=allow protocol=TCP localport=8443 remoteip=LocalSubnet
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use FS25 server scripts (firewall, restart, backup)?

The Farming Simulator 25 dedicated server officially runs on Windows only. This tool generates the three common operating scripts, to schedule with Task Scheduler.

  1. Pick the script: firewall, restart or backup.

  2. Check the paths (install, Documents\My Games\FarmingSimulator2025, backup folder) and ports.

  3. Download the .bat file; the firewall script must run as administrator.

  4. Schedule restart and backup in Windows Task Scheduler.

Read the full documentation →

Frequently asked questions

Farming Simulator 25
Farming Simulator 25Sign-in required
Paste your Farming Simulator 25 dedicatedServer.xml or dedicatedServerConfig.xml: XML validity, initial_admin and a list of settings.
ValidationXMLOpen
Documentation