The below rules allow a single PC on my network to enjoy an "Open" NAT in Rainbow Six Siege multi-player (and many other games). This makes it possible for me to host games and improves match making speed.
The problem with this setup is that it's limited to a single host at any given time, so my PS4 has to be "strict" while the PC is "open" or vice-versa, and I manually have to update pf.conf if I want to switch which one is open and which is strict. I realize one alternative would be to enable UPnP but I don't want to do that unless I absolutely have to. I asked my ISP for an additional IP address but they don't offer multiple IP addresses for residential, so I don't believe I can take advantage of separate VLAN's.
Is there a way to make this work without UPnP or am I trying to do something impossible with PF alone?
Code:
match out log on egress from !$gaming_pc to any nat-to ($ext_if:0) port 1024:65535
match out log on egress from $gaming_pc to any nat-to ($ext_if:0) static-port
pass in log on $ext_if inet proto tcp from any to any port $siege_ports_tcp rdr-to $gaming_pc
pass in log on $ext_if inet proto udp from any to any port $siege_ports_udp rdr-to $gaming_pc
Is there a way to make this work without UPnP or am I trying to do something impossible with PF alone?