Community discussions

MikroTik App
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Problems with Web-Proxy in 3.11

Wed Jul 16, 2008 9:47 pm

Hello everybody
I'm having a problem with the proxy in version 3.11. I used to works with 3.0RC14 and the proxy works well. Now I update to version 3.11, because in pppoe, now, I have the option to insert automatic the client that connect to the address-list, intested of do it with a script. That works fantastic, but the problem now is the web-proxy, I can't make it works!!
Well I will insert my configuration, if someone look something bad please tall me!!
/ip firewall nat> print 
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; basic nat sobre red 10.10.0.0/16
     chain=srcnat action=masquerade src-address=10.10.0.0/16 src-address-list=clientes_activos out-interface=DEDICADO 

 1 X ;;; toda la red 10.10.0.0/16 redirect proxy
     chain=dstnat action=redirect to-ports=8080 src-address=10.10.0.0/16 src-address-list=clientes_activos dst-port=80 protocol=tcp

/ip proxy> print 
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
             cache-drive: system
     cache-administrator: "admin"
          max-cache-size: none
           cache-on-disk: no
  max-client-connections: 600
  max-server-connections: 600
          max-fresh-time: 3d
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4

/ip firewall filter> print 
Flags: X - disabled, I - invalid, D - dynamic
....
75   ;;; Acceso al Web-Proxy
     chain=input action=jump jump-target=web-proxy dst-port=8080 protocol=tcp 

76 X ;;; Log de accesos no autorizados al web-proxy desde el Dedicado
     chain=web-proxy action=log in-interface=DEDICADO dst-port=8080 protocol=tcp log-prefix="DROP PROXY INVALID USER" 

77   ;;; Drop de accesos no autorizados al web-proxy desde el Dedicado
     chain=web-proxy action=drop in-interface=DEDICADO dst-port=8080 protocol=tcp 

78   ;;; Aceptar conexiones entrantes desde la LAN al proxy
     chain=web-proxy action=accept src-address-list=clientes_activos dst-port=8080 protocol=tcp 


Well that is all, I hope you can help me
Bye
Rafael Lore
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problems with Web-Proxy in 3.11

Thu Jul 17, 2008 10:49 am

try changing
chain=srcnat action=masquerade src-address=10.10.0.0/16 src-address-list=clientes_activos out-interface=DEDICADO
to
chain=srcnat action=masquerade out-interface=DEDICADO
and see whether it works
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: Problems with Web-Proxy in 3.11

Thu Jul 17, 2008 5:26 pm

Thanks!!!
Its start working!!! thank you very much
Rafael Lore
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problems with Web-Proxy in 3.11

Thu Jul 17, 2008 6:57 pm

for Mikrotik staff: Web-Proxy still uses internal IP address for external connections ;)

Who is online

Users browsing this forum: iotopia and 35 guests