dear all
when user are going to send request to mail.abcde.com:80 , i want that user's request forward to mail.abcde.com:8080 directly.
in other word when domain is exactly 'mail.abcde.com' (not for other domain) this process to be happened.
i have done this issue in 3 step :
Step 1 : Create Layer7 Protocol :
# NAME REGEXP
0 mail.abcde.com ^.+(mail.abcde.com).*$
STEP 2 : Create a Mangle
chain=prerouting action=mark-connection new-connection-mark=MailServerConnection passthrough=no layer7-protocol=mail.abcde.com protocol=tcp log=no log-prefix=""
STEP 3 : Create NAT
chain=dstnat action=dst-nat to-addresses=192.168.100.100 to-ports=8080 protocol=tcp dst-address=MY_PUBLIC_IP connection-mark=MailServerConnection dst-port=80 log=no log-prefix=""
Mangle are receiving packets when user are going to send request to mail.abcde.com:80 but NAT not working !
any idea?