Page 1 of 1

Web proxy over nat

Posted: Thu Sep 14, 2017 11:01 pm
by Ponyo
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

Re: Web proxy over nat

Posted: Sun Sep 17, 2017 2:33 pm
by morituruz
For routeros internal proxy you need action=redirect to 8080, not dst-nat.

Re: Web proxy over nat

Posted: Sun Sep 17, 2017 6:21 pm
by Ponyo
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?

Re: Web proxy over nat

Posted: Mon Sep 18, 2017 12:21 pm
by morituruz
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