OPNsense Forum

English Forums => General Discussion => Topic started by: Mkayze on December 15, 2020, 07:25:18 PM

Title: How to open NAT for 2 PC's using the same port
Post by: Mkayze on December 15, 2020, 07:25:18 PM
Hello, I am not sure if this is possible but I was wondering if I am able to setup 2 PC's NAT outbound to same port.

I am able to make it work with a single PC but when I add the other PC to the alias rule then it won't connect anymore. The game is Black Ops Cold War and there's no way to change what port the game is using. Looks like its hard coded to use 3074

This is the rule I am using and It works with 1 computer

NAT Outbound Rule
Mode is set to Hybrid
Interface: WAN
TCP/IP Version: IPv4
Protocol: TCP/UDP
Source address: PC1 Alias
Source port: 3074
Destination address: any
Destination port: any