Since i have upgraded to 3.20 i am unable to use Web-Proxy Feature. There is some sort of bug in it thats for sure.
Every thing was working fine till 3.17 then suddenly 3.18 started the problem, then came 3.19 almost the same problem, then 3.20 the problem is at its peak.
Please check the proxy feature in 3.20, becasue its not working for me since the time i upgraded.
“It’s not working” is not much of a problem description.
Do you get any entries in the log?
Is it completely “dead” or does it work sometimes?
Is you sniff the outside interface, can you see the proxy trying to connect to the destination http server?
Are you both running in transparent mode? If you configure your browser to use the proxy as a normal HTTP proxy, does it work then?
I’m very curious as I’m just about to put a Mikrotik proxy into production running 3.20 or the upcoming 3.21 version that has a fix for HTTPS through a parent proxy. So of course I want to make sure it’s completely stable. All my tests with 3.20 has worked flawlessly at least. But I’ve only been able to test it using a parent-proxy and as a normal non-transparent proxy though.
Dear? So you think that statement answers any of my questions above? How do you expect anyone to be able to help finding the problem if you can’t provide any details and answer the questions we have?
I didn’t ask all those questions to try telling you you have done anything wrong if that’s what you thought, I asked them because knowing the answers would help pinpointing the problem and make it easier to reproduce the problem.
I’ve tried to reproduce the problem but cannot. I’ve tried 3.13, 3.17, 3.18, 3.20, 3.21(beta) and they all work perfect for me. They work both in transparent mode (redirecting 80 → 8080) for HTTP, in normal proxy mode and with and without a parent proxy. I havn’t been able to test fully without a parent proxy though as the network I’m testing on does not allow direct outbound connects, but I can see correct requests are sent out my external interface.
While testing I found bug though that causes the web-proxy to use the wrong src-address when processing requests that come from a client on the internal interface and the dest server is on the external interface. It then incorrectly picks the internal IP address as src-address when sending out the request to the dest server. So you might wanna test explicitly setting src-address to the IP address you want it to use.
This problem seemed to exist also in 3.13 and 3.17 as well as the newer ones so it shouldn’t be your problem, unless something else changed at the same time causing you to get punished by this bug just at this time.
Isn’t RouterOS using normal iptables/netfilter from the linux kernel todo packet filtering and nating? If so, it shouldn’t matter as srcnat and dstnat rules goes into two different iptables chains, so I can’t see why it should make any difference if you add a src- or dst- nat rules before the other or reverse.
But it never hurts trying though - I could be wrong
Firewall rules are read from top to bottom, same in linux, it does not matter to which chain it belongs.
If the rule at top matches the query it will not go to any other rule to check. So its very important to make your DST-NAT Rule above all.
Each chain is traversed independently from top to bottom. DNAT is done in the prerouting chain which is processed before the any routing decision is made, while SNAT is done in the postrouting chain. So the order you add rules in are only significant for a specific chain. If you add the SNAT rules first and then the DNAT rules, or you first add all DNAT rules and then the SNAT rules really shouldn’t matter.
The DNAT rules will always be processed first anyway as they are processed by the prerouting chain.
the problem also happens to me.
when i restart my mikrotik. i connect to the internet , no page load. there is ping.
but when i go to winbox and to to IP PROXY and go to settings and just press OK. the browse and the internet works simply.
we need to fix this issue.
Can we downgrade a single package ? as downgrading http proxy to 3.17 ? whats the name of the package.