I have LAN, DMZ and WAN configured on a XG firewall running on a esxi / home setup.
I want to redirect anyone accessing a particular IP/service in internet to an IP/service in DMZ. Trying to do a NAT - rule with no luck.
Here is what I have.
Source : LAN IP (192.168.1.5)
Destination (Internet - This is not the WAN IP) : 170.10.10.5:8000 (Both UDP/TCP)
Need to redirect this to (DMZ) 192.168.3.5:8000 (Both UDP/TCP)
I wrote following NAT rule, but do not seem to match this rule.
Original Source : Any
Original Destination : 170.10.10.5
Original Service : TCP (1:65535) / (8000), UDP (1:65535) / (8000)
Translated source (SNAT) : MASQ
Translated destination (DNAT) : 192.168.3.5
Translated Service (PAT) : Original
Inbound Interface : Any
Outbound Interface : Any
Although I had touble initially, I later manage to create additional firewall rules for traffic to traverse from any zone to any zone, tcp seems to be working, however my udp traffic seems to to be one way, do not seems to have a return path.
Any difference between UDP vs TCP rules that I have to be aware of.
This thread was automatically locked due to age.