Page 1 of 1

what is (src-address & parent-proxy) mean

Posted: Wed Nov 27, 2013 1:39 pm
by ahmedagha
hi every body :)
after looking in Google and youtube tutorials i found the configuration to do blocking on any website BUT the problem is i don't know what is ( src-address ) mean? and parent-proxy=0.0.0.0 ?? as shown below in this example of configuration
please someone tell me what are they mean and how can i config it to complet my configuration about blocking websites

note: i didn't add any IP and i have no DHCP in my mikrotik


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



best regards 8)

Re: what is (src-address & parent-proxy) mean

Posted: Wed Nov 27, 2013 8:02 pm
by efaden
hi every body :)
after looking in Google and youtube tutorials i found the configuration to do blocking on any website BUT the problem is i don't know what is ( src-address ) mean? and parent-proxy=0.0.0.0 ?? as shown below in this example of configuration
please someone tell me what are they mean and how can i config it to complet my configuration about blocking websites

note: i didn't add any IP and i have no DHCP in my mikrotik


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



best regards 8)

Parent-Proxy allows you to chain proxies... if it is 0.0.0.0 then it is disabled... if it is anything else then the proxy will direct all requests to the parent instead of directly.

Src-Address forces the proxy to use a certain source if the router has multiple addresses and you want the requests to come from a specific one... otherwise it will default to using the routing table to determine the src based on the appropriate route. 0.0.0.0 means to use the routing table.

Re: what is (src-address & parent-proxy) mean

Posted: Thu Nov 28, 2013 7:26 am
by ahmedagha
first thank you for your help but i have another question is: parent IP & src-address from where i have to get them? do i have to put any IP as i like? or i should get public IP from ISP?

Re: what is (src-address & parent-proxy) mean

Posted: Thu Nov 28, 2013 1:14 pm
by janisk
src-address is used in case when users wants to assign certain IP address for use by proxy. (Requests to parent proxy or requests to servers. Address should be present on the router.

parent-proxy - if requested page is not in cache, instead of requesting web server proxy will query another proxy.

please see http://wiki.mikrotik.com/wiki/Manual:IP/Proxy

as this is basic information from the manual.