There is a Static NAT rule that achieves the following.
(for the question, let's assume the WAN subnet
has a subnet of 1.1.1.1/24
)
Inbound traffic to the WAN interface
on port X
to 1.1.1.6
gets NAT'ted to LAN IP 192.168.0.1
.
Now this isn't a 1-1 NAT rule, just a Static NAT for the inbound traffic. When return traffic is sent back to the client, does the firewall know to NAT traffic back to the client with the source IP of 1.1.1.6
?
I'm assuming it has to? As TCP is a two-way protocol, if the client received traffic back on a different IP to the IP it sent the traffic to, it would drop it?