Community discussions

MikroTik App
 
maxfava
Member Candidate
Member Candidate
Topic Author
Posts: 225
Joined: Mon Oct 17, 2005 12:30 am

Proxy and routing

Thu Mar 23, 2006 2:13 am

Hi,
I have the following issue,
I'm using the mangle+prerounting to route http request to one getawat and rest of packet to default getaway
Now I wnat to set my web proxy but with dst nat I redirect all TCP to the proxy 8080 but after the proxy request are route to default getaway instead of desidered one.

Could you help me?
Massim
 
User avatar
mag
Member
Member
Posts: 376
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Thu Mar 23, 2006 9:13 am

i'am doing similar things, but do not understand your question, sorry.
packets can not be splitted.
 
maxfava
Member Candidate
Member Candidate
Topic Author
Posts: 225
Joined: Mon Oct 17, 2005 12:30 am

Fri Mar 24, 2006 4:29 pm

I have 2 WAN.
WAN-A is the default gateway
WAN-B is for HTTP traffic

It works using Mangle e routing packets policy.

Now,
I want use the WEB proxy to reduce WAN traffic.
But Following the procedure of the manual the destination nat is before the mangle firewall operation. In this way the HTTP traffic is addressed to the WAN-A instead of WAN-B ignoring the routing policy.

Is there a solution?
 
Freman
Frequent Visitor
Frequent Visitor
Posts: 76
Joined: Thu Jul 01, 2004 8:49 am

Fri Mar 31, 2006 7:14 am

One option is to set up your gateways in reverse.

Set up your "http" gateway as your default gateway, then set source routing up to use the non-default gatway...

I know it sounds backwards, but it worked for me
 
maxfava
Member Candidate
Member Candidate
Topic Author
Posts: 225
Joined: Mon Oct 17, 2005 12:30 am

Fri Mar 31, 2006 10:00 am

Yes it is a possibility, but I need to create the other mangle rules for the remaining infinite protocols.

Who is online

Users browsing this forum: Bing [Bot] and 164 guests