This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Forward traffic to 2 different servers using same port

Hi,
i need some help on this. We have a set of 5 public IP (e.g. 197.22.150-197.22.150.5) and we want to redirect https traffic to 2 different servers, depending on the source IP.
If https traffic goes to 197.22.150.2(which is also the WAN interface of UTM), UTM9 forwards traffic to server1 [192.168.2.100]
if https traffic goes to 197.22.150.3, UTM9 forwards traffic to server2 [192.168.2.101]
The https ports cannot be changed since they are system hardcoded.


This thread was automatically locked due to age.
Parents
  • Configure the IP 197.22.150.3/32 as additional IP adress for interface WAN (Interfaces -> Additional Addresses).

    Then create 2 DNAT rules (Network Protection -> NAT -> NAT):
    Source: Any
    Service: HTTPS
    Destination: WAN (Address)
    Change Destination To: Server1
    And the service to: 
    Automatic Firewall rule: yes

    and

    Source: Any
    Service: HTTPS
    Destination: WAN Additional IP (Address)
    Change Destination To: Server2
    And the service to: 
    Automatic Firewall rule: yes
Reply
  • Configure the IP 197.22.150.3/32 as additional IP adress for interface WAN (Interfaces -> Additional Addresses).

    Then create 2 DNAT rules (Network Protection -> NAT -> NAT):
    Source: Any
    Service: HTTPS
    Destination: WAN (Address)
    Change Destination To: Server1
    And the service to: 
    Automatic Firewall rule: yes

    and

    Source: Any
    Service: HTTPS
    Destination: WAN Additional IP (Address)
    Change Destination To: Server2
    And the service to: 
    Automatic Firewall rule: yes
Children
No Data