Community discussions

MikroTik App
 
Ponyo
just joined
Topic Author
Posts: 24
Joined: Sat Mar 25, 2017 10:54 am

Web proxy over nat

Thu Sep 14, 2017 11:01 pm

I've a dialup connection 9600b/s of speed with a remote web server host 192.168.254.2 , my local clients are able to connect to that with nat trought 192.168.1.1 that is the router

192.168.1.10 lan client > connect to router 192.168.1.1:88 that nat to remote host 192.168.254.2:80

if web proxy is enabled it run on 8080, if I add another nat from 88 to 8080 the rule take precedence and cannot access 192.168.254.2:80 how can I cache the data from 192.168.254.2?

Thanks, BR
 
User avatar
morituruz
newbie
Posts: 33
Joined: Fri Oct 17, 2014 9:00 am

Re: Web proxy over nat

Sun Sep 17, 2017 2:33 pm

For routeros internal proxy you need action=redirect to 8080, not dst-nat.
 
Ponyo
just joined
Topic Author
Posts: 24
Joined: Sat Mar 25, 2017 10:54 am

Re: Web proxy over nat

Sun Sep 17, 2017 6:21 pm

Thank you with redirect I get the proxy web page, but it says Connection Refused.

I've tried to add 192.168.254.2:80 in web proxy access rules but it seems ignored, it only seems to work with method:DENY and REDIRECT-TO but it won't load the page.

How can client connect from lan x.x.1.x to remote host x.x.254.x?
 
User avatar
morituruz
newbie
Posts: 33
Joined: Fri Oct 17, 2014 9:00 am

Re: Web proxy over nat

Mon Sep 18, 2017 12:21 pm

it says Connection Refused.
Looks like web server won't accept that connection. Check out his logs. May be there is some restrictions in server settings