I have been looking for information on the topic but it seems hard to find. It's either not what i'm looking for or extremly outdated. What do i need to do to host a local game? With port should i forword and do i need anything else to host the game?
The information in the Linux howto is still relevant: https://forums.uberent.com/threads/howto-linux-lan-dedicated-server.65476/ You can ignore most of the stuff. It's the command-line parameters which are probably of the most interest to you. The port PA clients connect to for the lobby info is TCP 20545, and for the game itself the clients use a port from the TCP port range 9000-9100.
Is it possible to host from windows? I don't want a dedicated server just to be able to host locally when i play with my friends.
The same command-line parameters apply to Windows. You can just ignore the stuff about making start-up scripts and stuff and run the server.exe manually. Actually, if you plan to game from the computer that is hosting the server, you can just choose "Create Local Game" from the PA client itself and you won't need to worry about all of this stuff. The minimum requirements for running both a server and the client is to have at least 8GB of memory and at least 4 CPU cores (and a 64-bit OS is mandatory). If you have less than that, you need to force the local server on in the settings, but you mileage may vary when you do that of course. For local games you shouldn't need to worry about ports and such unless there are firewalls blocking them. They shouldn't do that for LAN traffic though. Oh, and if your friends haven't bought copies of PA themselves, you can copy over your PA install to their computers and they need to start the pa client directly by running PA.exe itself. They can fill in any name in the Uber ID field, which will be their in-game name. That part is a bit counter-intuitive. No need to log in, just having the field filled out it enough.