Problem with port based load balance

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Problem with port based load balance

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Problem with port based load balance
Problem with port based load balance
2012-12-09 22:28:15 - last edited 2021-08-21 03:03:17
Region : Denmark

Model : TL-R480T+

Hardware Version : V4

Firmware Version : 4.3.1 Build 110728 Rel.73699s

ISP :


Greetiings everybody!

I'm trying to setup my r480 to route outbound LAN port 25 to wan 4 only and all other traffic to wan 1-3.

Here's the setup:
Wan 1, 2 & 3 are connected to 3 seperate 4G routers with dynamic public ip addresses
Wan 4 is connected to an adsl router with a static public ip address.
A Mac mountain lion server (ip 192.168.0.7) are used as mail- and proxy (squid) server.
The r480 is configured with DMZ at ip 192.168.0.7.
I want to route the servers smtp traffic (port 25) to wan 4 and the web-proxy traffic (port 80) to wan 1, 2 & 3. The problem is that if I setup "Extra ip Address Dispatch Rules" to direct port 25 outbound traffic from ip 192.168.0.7 to wan 4 it does apparently not work. If I look in "IP NAT table" the local port reads something like 51237, the remote port 25 and the wan port is 1, 2, 3 or 4. The local port number changes every time the mail server is active and so does the destination wan. If I change the settings so ports 1 - 65534 are directed to wan 4, port 25 outbound traffic is directed to wan 4, but so is all web traffic which should go to wan 1 - 3.

Can anybody help me route outbound port 25 traffic to wan 4 and outbound port 80 traffic to wan 1 - 3?

Thanks in advance :-)
  0      
  0      
#1
Options
2 Reply
Re:Problem with port based load balance
2012-12-10 21:00:40 - last edited 2021-08-21 03:03:17
  0  
  0  
#2
Options
Re:Problem with port based load balance
2012-12-10 22:20:25 - last edited 2021-08-21 03:03:17

Ada wrote



Thanks Ada but the FAQ doesn't really help. When I setup port 25 to be channeled through wan 4 (just as described in the FAQ), the traffic from my server port 25 is chanced to a random number (source NAT?) and doesn't get directed to wan 4.
  0  
  0  
#3
Options