port forwarding......i know.....

Started by Richardgaryh, January 08, 2023, 11:24:07 PM

Previous topic - Next topic
January 08, 2023, 11:24:07 PM Last Edit: January 09, 2023, 05:29:40 AM by Richardgaryh
I am sorry to have to post a stupid question on here for my first post but I've read every post on here and have tried everything and nothing seems to be working. I am simply trying to get my ports forwarded for gaming. I was able to get them working perfect for xbox series x but for some reason I cant get anything to work for my gaming PC.

This is a very basic setup so I am not sure what I am doing wrong. Any help is GREATLY appreciated!!!!

Here are more pics of the current setup

I'm not gonna get involved here, can't imagine ever opening that many ports for anything, but I will say whenever you see the "Apply Changes" button still, that means you didn't apply changes. Click it.

Quote from: Demusman on January 09, 2023, 12:09:47 AM
I'm not gonna get involved here, can't imagine ever opening that many ports for anything, but I will say whenever you see the "Apply Changes" button still, that means you didn't apply changes. Click it.

Lol yeah I am aware of that. I wish the problem was that easy to solve.

January 09, 2023, 08:45:59 AM #4 Last Edit: January 09, 2023, 09:02:32 AM by UnCoNoob
What is the game???

As if its call of duty then you won't be able to as the Xbox shared the 3074 port which the PC requires to connect.

I have this issue with 2 x PC's I can not get a workaround you may be able to by removing the 3074 port to the Xbox as unlike PC it can run under 3075 as an alternative for the game but for some reason, this is not possible on PC I can find.

port forward 3075 for the Xbox and 3074 for the PC. Also if you can find how I looked but cant figure it out block port 3074 to the Xbox this will force it to use the alternate port.

You could also run the Xbox in DMZ but I have seen people having consoles work together.

Edit: You can also tidy up the screen by adding multiple ports to the port alias. This way you can have one rule for all UDP and one rule for all TCP ports -  like this

PC Gaming ports UDP 3074,4379:4380,27000:27031,27036


Also onto this have you set the outbound rule with static port??

Source address is your gaming PC and then any for everything else tick static port and apply

Quote from: UnCoNoob on January 09, 2023, 08:45:59 AM
What is the game???

As if its call of duty then you won't be able to as the Xbox shared the 3074 port which the PC requires to connect.

I have this issue with 2 x PC's I can not get a workaround you may be able to by removing the 3074 port to the Xbox as unlike PC it can run under 3075 as an alternative for the game but for some reason, this is not possible on PC I can find.

port forward 3075 for the Xbox and 3074 for the PC. Also if you can find how I looked but cant figure it out block port 3074 to the Xbox this will force it to use the alternate port.

You could also run the Xbox in DMZ but I have seen people having consoles work together.

Edit: You can also tidy up the screen by adding multiple ports to the port alias. This way you can have one rule for all UDP and one rule for all TCP ports -  like this

PC Gaming ports UDP 3074,4379:4380,27000:27031,27036

Very interesting! I figured it would only be a conflict if the Xbox was on along with the PC? This is in fact the game that I am having issues with though! Does opnsense just prioritize the first client that the port was assigned to? I will test this as soon as I get home because that's a very real possibility. I will also check to make sure I set the outbound rule with static port. I am pretty sure I did but can't hurt to verify!

January 09, 2023, 10:03:18 PM #7 Last Edit: January 09, 2023, 10:09:21 PM by UnCoNoob
You can not port the same port to multiple devices. So when one connects it will use the 3074 port and when the second connect it will not be able to use that port.

As said I have read with COD (not sure the new MW2) but the old ones they have opened ports to 3075 and 3076 for a fallback if multiple systems. This is only enabled on consoles though not for PC so the PC has to use the 3074. Why I suggest trying to block it on the Xbox so if it connects first it rejects the port.

It would be worth a try and I am interested in your result.

You could also try UPNP which I am playing with now but it is not creating any rules for my PC when using COD. If I start deluge it will create a rule for that so its not the PC seem the game has issues opening the port??

If you use UPNP i would port forward the PC and run the Xbox on UPNP. Tick default deny rule then set user specific permission. like this. Changing the 192.168.0.0 to your Xbox static IP address.

allow 500-4500 192.168.0.0/24 500-4500
Deny 3074 192.168.0.0/24 3074

also remove all forwarding rules for the Xbox as they will interfer

Quote from: UnCoNoob on January 09, 2023, 10:03:18 PM
You can not port the same port to multiple devices. So when one connects it will use the 3074 port and when the second connect it will not be able to use that port.

As said I have read with COD (not sure the new MW2) but the old ones they have opened ports to 3075 and 3076 for a fallback if multiple systems. This is only enabled on consoles though not for PC so the PC has to use the 3074. Why I suggest trying to block it on the Xbox so if it connects first it rejects the port.

It would be worth a try and I am interested in your result.

You could also try UPNP which I am playing with now but it is not creating any rules for my PC when using COD. If I start deluge it will create a rule for that so its not the PC seem the game has issues opening the port??

If you use UPNP i would port forward the PC and run the Xbox on UPNP. Tick default deny rule then set user specific permission. like this. Changing the 192.168.0.0 to your Xbox static IP address.

allow 500-4500 192.168.0.0/24 500-4500
Deny 3074 192.168.0.0/24 3074

also remove all forwarding rules for the Xbox as they will interfer

That was it!! I figured having the same port would be fine if only one device was powered on?!?! Thank you for the help, instantly fixed it!

Awsome.

Have you tried to play the games both at the same time??? Do you have open NAT on both out of interest???

As I say I have been trying to do this for 18 months and it won't work with PC and PC I have found but people have had success on the consoles as I say they seem to have multiple usable ports for this reason.

I used to run a VPS hosted in the city nearest to me and set up wireguard on that. I could port forward all my ports on the VPS and I hate open NAT wireguard routes all its traffic through its own port leaving the other PC to use them.

The issue with the new modern warfare 2 is they shadow ban VPS IP addresses. So it would search for 5 mins and get thrown in a 300ms ping game. I tried every company offering a VPS and not worked. Play vanguard or older COD no issues. Turn VPN off 11ms ping lobbies all night even with strict NAT so at least I give it to them they allow you to find a lobby with a strict NAT.

I have one more thing to try and thought I would just inform you encase you maybe interested.

I have ordered a separate IP address from the ISP so I will have 2. Only issue here in Australia it's only available as a business connection, Which is OK as I have an ABN but may limit the average person. In theory I can set a virtual WAN IP that will route one PC through one WAN IP and the other through the other IP so there are no port conflicts.

I asked a question about this earlier in the week but had no reply but found a video of this exact thing being done on PFsense and if it can be done there, then there is a way on OPnsense.

I am awaiting the service to be switched over and then have to order the bolt on extra IP but I can keep you updated if you are interested in this approach.

The service cost is the same as I am paying now I will just be charged $5 per extra IP a month I add on which is OK alot less then my VPS cost.