Port forwarding for a game server?
-
The situation so far:
-
I wish my game server to be visible to the internet on a particular port.
-
My ISP has provided me with at static IP.
-
I have configured the game server to use a particular port and the server is running.
-
In pfSense Firewall/NAT/Port Forwarding I have added a redirect entry from the WAN interface on UDP protocol for port XXXX to redirect to the IP address of the game server. I have enabled NAT reflection (Pure NAT) and created a filter rule association.
I cannot access the server and when I check the port with canyouseeme.org it says the port is blocked... What am I missing?
-
-
@joe_papa UDP services will always show as closed. Are you testing from your LAN or from outside your network? You should be testing from outside. NAT Reflection only applies to LAN clients trying to hairpin out and back in. Do a packet capture on WAN then LAN to verify that the game traffic is hitting your WAN and then being forwarded to your game server. You should also post screens of your NAT rule and WAN rule so folks here can check it.
-
@joe_papa is there a firewall on the game server?
-
@steveits It is running on a VM of Windows10Pro. I have added a firewall exception for the server executable.
-
@joe_papa said in Port forwarding for a game server?:
In pfSense Firewall/NAT/Port Forwarding I have added a redirect entry from the WAN interface on UDP protocol for port XXXX to redirect to the IP address of the game server. I have enabled NAT reflection (Pure NAT) and created a filter rule association.
I cannot access the server and when I check the port with canyouseeme.org it says the port is blocked... What am I missing?
I assume that the port scanner is not capable to check UDP ports like almost all other port scanners too.
-
@joe_papa what game server your actually trying to setup, and the port or ports you have forwarded.. A screenshot of this screen and your actual wan rules is always worth 10k words..
-
@johnpoz thanks for the comments. I'm setting up a NWN:EE server. After more testing it turned out to be working perfectly from outside as some here had mentioned might be the case. I couldn't test it from within my network. Thanks very much for the suggestions and tips.