Jump to content

What does port forwarding do?

saba17

Hello,so what does port forwarding do?and is it better for gaming when i do port forwarding?I know that it needs to have static IP so is it worth to change my IP to static?

Link to comment
Share on other sites

Link to post
Share on other sites

Port Forwarding sets up public services on your network such as web servers, FTP servers, e-mail servers, or other specialized Internet applications. When users send this type of request to your network via the Internet, the router will forward these requests to the appropriate computer.  For example, if you're hosting a website you'd open ports 80 an 443. 

 

As for gaming, 

 

Port forwarding – or creating a port forward – is a common process in gaming that makes your gaming console or PC more accessible to other gaming consoles or PCs on the Internet. Port forwarding can improve connection speed, lobby wait times, and overall gameplay, particularly for a host

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer Q802USB Xenyx 8 Input Mixer |  U-PHORIA UMC204HD | Behringer XM8500 Dynamic Cardioid Vocal Microphone | Sound Blaster Audigy Fx PCI-E card.

 

Home Lab:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | Cisco 2960C-LL | HP MicroServer G8 NAS | Custom built SCCM Server.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Its worth noting that in most cases this is done automatically via a feature called uPnP (Universal Plug'n'Play). 

Devices/applications that support uPnP will negotiate with uPnP compatible routers (pretty much all consumer routers) to automatically setup the port forwarding. 

 

So 90% of the time you don't need to do anything. If youre talking about the likes of an Xbox or PS you can run a connectivity test which will test if active connections can be made which indicates port forwarding is already configured. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Already thoroughly covered above port forwarding is basically just a firewall exception in your router allowing external connections to talk to internal clients based on port number.

 

As for needing a Static IP this depends on weather you're talking about the end devices IP or your routers public IP address. In the case of your end device you would indeed want a static IP but you also don't want your router trying to hand out that IP to a different client so it's recommended to either shrink the DHCP pool in your router or use your router to reserve that IP for the end device.

 

As for your Public IP. Ideally you don't want this to change either but requesting a Static IP from your ISP can be either an additional fee or not supported by your ISP when on a residential connection. In either case look into services like No-IP. This is a Dynamic DNS service that let's you use a domain name and automatically tracks your ever changing public IP.

 

There's other issues you can run into with port forwarding such as being trapped behind NAT or NAT64-CGNAT where you either have to change your router setup or change ISPs respectively (Or explore VPN/VPS services) but that's not immediately relevant.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×