Community discussions

MikroTik App
 
mmontz
just joined
Topic Author
Posts: 3
Joined: Fri Jul 20, 2007 5:25 pm

Port forwarding web traffic

Wed May 26, 2010 11:37 pm

I am trying to forward web traffic from our customers with public IPs to an advertising server. I have successfully done this with customers with private IPs who are behind a masquerade rule, but the same rule with public IPs does not pass web traffic along. Here is the rule that worked with the private IPs:

chain=dstnat action=dst-nat to-addresses=65.111.x.x to-ports=80
src-address=10.3.30.0/23 dst-address-list=!noAdEngine dst-port=80
protocol=tcp

65.111.x.x is the address of the advertising box and 10.3.30.0/23 is the subnet that my masquerade rule is applied to. If I replace the src-address= with subnet of my public IPs all traffic works but port 80. Will NAT rules apply to public IPs? If so what am I doing wrong? If not do I need the Mikrotik Proxy package to make this work?

Mike

Who is online

Users browsing this forum: bobr, loloski, nhongooi and 85 guests